随笔分类 - websocket
摘要:总共是三个步骤 一、创建webSocketHandler处理器继承TextWebSocketHandler @component public class MyWebSocketHandler extends TextWebSocketHandler 1.定义一个成员变量,保存用户与对应的WebSo
阅读全文
摘要:https://www.jianshu.com/p/7c98820f0364 org.springframework.web.socket.server Interface HandshakeInterceptor 所有已知实现类 HttpSessionHandshakeInterceptor pu
阅读全文
摘要:Spring之WebSocket网页聊天以及服务器推送 https://blog.csdn.net/tanga842428/article/details/77140501 原文地址:http://www.xdemo.org/spring-websocket-comet/ Websocket简介 摘
阅读全文