public class StandardWebSocketHandlerAdapter
extends javax.websocket.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(javax.websocket.Session session,
javax.websocket.CloseReason reason) |
void |
onError(javax.websocket.Session session,
Throwable exception) |
void |
onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig config) |
public StandardWebSocketHandlerAdapter(WebSocketHandler handler, StandardWebSocketSession wsSession)
public void onOpen(javax.websocket.Session session, javax.websocket.EndpointConfig config)
onOpen
in class javax.websocket.Endpoint
public void onClose(javax.websocket.Session session, javax.websocket.CloseReason reason)
onClose
in class javax.websocket.Endpoint
public void onError(javax.websocket.Session session, Throwable exception)
onError
in class javax.websocket.Endpoint