@Service
public class WebSocketHandler
extends org.springframework.web.socket.handler.TextWebSocketHandler
| 构造器和说明 |
|---|
WebSocketHandler(CoolQFactory coolQFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus status) |
void |
afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session) |
protected void |
handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message) |
@Autowired public WebSocketHandler(CoolQFactory coolQFactory)
protected void handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message)
handleTextMessage 在类中 org.springframework.web.socket.handler.AbstractWebSocketHandlerpublic void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session)
afterConnectionEstablished 在接口中 org.springframework.web.socket.WebSocketHandlerafterConnectionEstablished 在类中 org.springframework.web.socket.handler.AbstractWebSocketHandlerpublic void afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus status)
afterConnectionClosed 在接口中 org.springframework.web.socket.WebSocketHandlerafterConnectionClosed 在类中 org.springframework.web.socket.handler.AbstractWebSocketHandlerCopyright © 2020. All rights reserved.