public class StandardWebSocketHandlerAdapter extends Endpoint
WebSocketHandler
to the standard WebSocket for Java API.Constructor and Description |
---|
StandardWebSocketHandlerAdapter(WebSocketHandler handler,
StandardWebSocketSession wsSession) |
Modifier and Type | Method and Description |
---|---|
void |
onClose(Session session,
CloseReason reason) |
void |
onError(Session session,
Throwable exception) |
void |
onOpen(Session session,
EndpointConfig config) |
public StandardWebSocketHandlerAdapter(WebSocketHandler handler, StandardWebSocketSession wsSession)
public void onOpen(Session session, EndpointConfig config)
public void onClose(Session session, CloseReason reason)