@WebSocket public class Jetty10WebSocketHandlerAdapter extends Object
JettyWebSocketHandlerAdapter, only excluding the
onWebSocketFrame method, since the Frame argument has moved
to a different package in Jetty 10.| Constructor and Description |
|---|
Jetty10WebSocketHandlerAdapter(WebSocketHandler webSocketHandler,
JettyWebSocketSession wsSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
onWebSocketBinary(byte[] payload,
int offset,
int length) |
void |
onWebSocketClose(int statusCode,
String reason) |
void |
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session) |
void |
onWebSocketError(Throwable cause) |
void |
onWebSocketText(String payload) |
public Jetty10WebSocketHandlerAdapter(WebSocketHandler webSocketHandler, JettyWebSocketSession wsSession)
@OnWebSocketConnect public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
@OnWebSocketMessage public void onWebSocketText(String payload)
@OnWebSocketMessage
public void onWebSocketBinary(byte[] payload,
int offset,
int length)
@OnWebSocketClose
public void onWebSocketClose(int statusCode,
String reason)
@OnWebSocketError public void onWebSocketError(Throwable cause)