Class StandardWebSocketHandlerAdapter
java.lang.Object
jakarta.websocket.Endpoint
org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter
Adapts a
WebSocketHandler
to the standard WebSocket for Java API.- Since:
- 4.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ConstructorDescriptionStandardWebSocketHandlerAdapter
(WebSocketHandler handler, StandardWebSocketSession wsSession) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onClose
(Session session, CloseReason reason) void
void
onOpen
(Session session, EndpointConfig config)
-
Constructor Details
-
StandardWebSocketHandlerAdapter
public StandardWebSocketHandlerAdapter(WebSocketHandler handler, StandardWebSocketSession wsSession)
-
-
Method Details