public class ProxiedWebSocketHandler
extends org.springframework.web.socket.handler.TextWebSocketHandler
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session)
throws Exception
afterConnectionEstablished 在接口中 org.springframework.web.socket.WebSocketHandlerafterConnectionEstablished 在类中 org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionprotected void handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message)
throws Exception
handleTextMessage 在类中 org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionpublic void afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus status)
throws Exception
afterConnectionClosed 在接口中 org.springframework.web.socket.WebSocketHandlerafterConnectionClosed 在类中 org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionCopyright © 2022. All rights reserved.