public class WebSocketEndPoint
extends jakarta.websocket.Endpoint
| 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,
java.lang.Throwable throwable) |
void |
onOpen(jakarta.websocket.Session wsession,
jakarta.websocket.EndpointConfig config) |
protected void |
sendText(java.lang.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,
java.lang.Throwable throwable)
onError in class jakarta.websocket.Endpointprotected void sendText(java.lang.String text)
throws java.io.IOException
java.io.IOExceptionprotected void setWebSocketServerPush(WebSocketServerPush wssp)
Copyright © 2005-2022 Potix Corporation. All Rights Reserved.