@OnOpen
    public void onOpen(Session session) throws IOException {
        session.getBasicRemote().sendText("TestWebSocketController-ok");
    }
@author zlt
@date 2022/5/8
<p>
Blog: http://zlt2000.gitee.io
Github: https://github.com/zlt2000
zlt-demo/websocket-demo/src/main/java/org/zlt/controller/TestWebSocketController.java