クラス WebSocketEndpoint
java.lang.Object
org.springframework.web.socket.handler.AbstractWebSocketHandler
org.springframework.web.socket.handler.TextWebSocketHandler
org.wcardinal.io.websocket.AbstractWebSocketEndpoint
org.wcardinal.io.websocket.WebSocketEndpoint
- すべての実装されたインタフェース:
org.springframework.web.socket.WebSocketHandler,EndpointSession
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidafterConnectionClosed(org.springframework.web.socket.WebSocketSession webSocketSession, org.springframework.web.socket.CloseStatus status) voidafterConnectionEstablished(org.springframework.web.socket.WebSocketSession webSocketSession) voidclose()voidhandleTextMessage(org.springframework.web.socket.WebSocketSession webSocketSession, org.springframework.web.socket.TextMessage message) クラスから継承されたメソッド org.wcardinal.io.websocket.AbstractWebSocketEndpoint
supportsPartialMessages, tryLockクラスから継承されたメソッド org.springframework.web.socket.handler.TextWebSocketHandler
handleBinaryMessageクラスから継承されたメソッド org.springframework.web.socket.handler.AbstractWebSocketHandler
handleMessage, handlePongMessage, handleTransportError
-
コンストラクタの詳細
-
WebSocketEndpoint
-
-
メソッドの詳細
-
afterConnectionEstablished
public void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession webSocketSession) throws Exception - 定義:
afterConnectionEstablishedインタフェース内org.springframework.web.socket.WebSocketHandler- オーバーライド:
afterConnectionEstablishedクラス内org.springframework.web.socket.handler.AbstractWebSocketHandler- 例外:
Exception
-
afterConnectionClosed
public void afterConnectionClosed(org.springframework.web.socket.WebSocketSession webSocketSession, org.springframework.web.socket.CloseStatus status) throws Exception - 定義:
afterConnectionClosedインタフェース内org.springframework.web.socket.WebSocketHandler- オーバーライド:
afterConnectionClosedクラス内org.springframework.web.socket.handler.AbstractWebSocketHandler- 例外:
Exception
-
handleTextMessage
public void handleTextMessage(org.springframework.web.socket.WebSocketSession webSocketSession, org.springframework.web.socket.TextMessage message) throws Exception - オーバーライド:
handleTextMessageクラス内org.springframework.web.socket.handler.AbstractWebSocketHandler- 例外:
Exception
-
close
public void close()- 定義:
closeインタフェース内EndpointSession- オーバーライド:
closeクラス内AbstractWebSocketEndpoint
-