public class WebSocketEndPoint extends jakarta.websocket.Endpoint implements Serializable
| Constructor and Description |
|---|
WebSocketEndPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(jakarta.websocket.Session wsession,
jakarta.websocket.CloseReason closeReason) |
void |
onError(jakarta.websocket.Session wsession,
Throwable throwable) |
void |
onOpen(jakarta.websocket.Session wsession,
jakarta.websocket.EndpointConfig config) |
protected void |
sendText(String text) |
protected void |
setWebSocketServerPush(WebSocketServerPush wssp) |
public void onOpen(jakarta.websocket.Session wsession,
jakarta.websocket.EndpointConfig config)
onOpen in class jakarta.websocket.Endpointpublic void onClose(jakarta.websocket.Session wsession,
jakarta.websocket.CloseReason closeReason)
onClose in class jakarta.websocket.Endpointpublic void onError(jakarta.websocket.Session wsession,
Throwable throwable)
onError in class jakarta.websocket.Endpointprotected void sendText(String text) throws IOException
IOExceptionprotected void setWebSocketServerPush(WebSocketServerPush wssp)
Copyright © 2026. All rights reserved.