Class WebSocketEndPoint

java.lang.Object
jakarta.websocket.Endpoint
org.zkoss.zkmax.au.websocket.WebSocketEndPoint
All Implemented Interfaces:
Serializable

public class WebSocketEndPoint extends jakarta.websocket.Endpoint implements Serializable
A WebSocket EndPoint for WebSocket based Update Engine and WebSocket implemented ServerPush.
Since:
8.5.0
Author:
wenninghsu
See Also:
  • Constructor Details

    • WebSocketEndPoint

      public WebSocketEndPoint()
  • Method Details

    • onOpen

      public void onOpen(jakarta.websocket.Session wsession, jakarta.websocket.EndpointConfig config)
      Specified by:
      onOpen in class jakarta.websocket.Endpoint
    • onClose

      public void onClose(jakarta.websocket.Session wsession, jakarta.websocket.CloseReason closeReason)
      Overrides:
      onClose in class jakarta.websocket.Endpoint
    • onError

      public void onError(jakarta.websocket.Session wsession, Throwable throwable)
      Overrides:
      onError in class jakarta.websocket.Endpoint
    • sendText

      protected void sendText(String text) throws IOException
      Throws:
      IOException
    • setWebSocketServerPush

      protected void setWebSocketServerPush(WebSocketServerPush wssp)