WebSocketHandler to the Jetty WebSocket API.
| Modifier and Type | Field and Description |
|---|---|
| private static final ByteBuffer | |
| private static final Log | |
| private final WebSocketHandler | |
| private final JettyWebSocketSession |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static ByteBuffer | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| EMPTY_PAYLOAD | back to summary |
|---|---|
| private static final ByteBuffer EMPTY_PAYLOAD | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| webSocketHandler | back to summary |
|---|---|
| private final WebSocketHandler webSocketHandler | |
| wsSession | back to summary |
|---|---|
| private final JettyWebSocketSession wsSession | |
| JettyWebSocketHandlerAdapter | back to summary |
|---|---|
| public JettyWebSocketHandlerAdapter(WebSocketHandler webSocketHandler, JettyWebSocketSession wsSession) | |
| copyByteBuffer | back to summary |
|---|---|
| private static ByteBuffer copyByteBuffer(ByteBuffer src) | |
| onWebSocketBinary | back to summary |
|---|---|
public void onWebSocketBinary(ByteBuffer payload, Callback callback)
| |
| onWebSocketClose | back to summary |
|---|---|
public void onWebSocketClose(int statusCode, String reason)
| |
| onWebSocketError | back to summary |
|---|---|
public void onWebSocketError(Throwable cause)
| |
| onWebSocketFrame | back to summary |
|---|---|
public void onWebSocketFrame(Frame frame, Callback callback)
| |
| onWebSocketOpen | back to summary |
|---|---|
public void onWebSocketOpen(Session session)
| |
| onWebSocketText | back to summary |
|---|---|
public void onWebSocketText(String payload)
| |