public class WebSocketListenerImpl
extends org.eclipse.jetty.websocket.api.WebSocketAdapter
implements org.eclipse.jetty.websocket.api.WebSocketPingPongListener
| Constructor and Description |
|---|
WebSocketListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onWebSocketBinary(byte[] payload,
int offset,
int len) |
void |
onWebSocketClose(int statusCode,
String reason) |
void |
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session) |
void |
onWebSocketError(Throwable cause) |
void |
onWebSocketPing(ByteBuffer byteBuffer) |
void |
onWebSocketPong(ByteBuffer byteBuffer) |
void |
onWebSocketText(String text) |
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
onWebSocketConnect in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListeneronWebSocketConnect in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketBinary(byte[] payload,
int offset,
int len)
onWebSocketBinary in interface org.eclipse.jetty.websocket.api.WebSocketListeneronWebSocketBinary in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketText(String text)
onWebSocketText in interface org.eclipse.jetty.websocket.api.WebSocketListeneronWebSocketText in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketClose(int statusCode,
String reason)
onWebSocketClose in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListeneronWebSocketClose in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketError(Throwable cause)
onWebSocketError in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListeneronWebSocketError in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketPing(ByteBuffer byteBuffer)
onWebSocketPing in interface org.eclipse.jetty.websocket.api.WebSocketPingPongListenerpublic void onWebSocketPong(ByteBuffer byteBuffer)
onWebSocketPong in interface org.eclipse.jetty.websocket.api.WebSocketPingPongListenerCopyright © 2025. All rights reserved.