Class GyWebSocket

java.lang.Object
org.glassfish.grizzly.websockets.SimpleWebSocket
org.glassfish.grizzly.websockets.DefaultWebSocket
org.noear.solon.server.grizzly.websocket.GyWebSocket
All Implemented Interfaces:
org.glassfish.grizzly.websockets.WebSocket

public class GyWebSocket extends org.glassfish.grizzly.websockets.DefaultWebSocket
Author:
noear 2025/9/25 created
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.glassfish.grizzly.websockets.SimpleWebSocket

    org.glassfish.grizzly.websockets.SimpleWebSocket.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.noear.solon.net.websocket.WebSocket
     

    Fields inherited from class org.glassfish.grizzly.websockets.DefaultWebSocket

    servletRequest

    Fields inherited from class org.glassfish.grizzly.websockets.SimpleWebSocket

    broadcaster, connected, listeners, protocolHandler, state

    Fields inherited from interface org.glassfish.grizzly.websockets.WebSocket

    ABNORMAL_CLOSE, END_POINT_GOING_DOWN, INVALID_DATA, MESSAGE_TOO_LARGE, NO_STATUS_CODE, NORMAL_CLOSURE, PROTOCOL_ERROR
  • Constructor Summary

    Constructors
    Constructor
    Description
    GyWebSocket(org.glassfish.grizzly.websockets.ProtocolHandler protocolHandler, org.glassfish.grizzly.http.HttpRequestPacket request, org.glassfish.grizzly.websockets.WebSocketListener... listeners)
     
  • Method Summary

    Methods inherited from class org.glassfish.grizzly.websockets.DefaultWebSocket

    getUpgradeRequest

    Methods inherited from class org.glassfish.grizzly.websockets.SimpleWebSocket

    add, broadcast, broadcast, broadcastFragment, broadcastFragment, close, close, close, getBroadcaster, getListeners, isConnected, onClose, onConnect, onFragment, onFragment, onMessage, onMessage, onPing, onPong, remove, send, send, sendPing, sendPong, sendRaw, setBroadcaster, setClosed, stream, stream, toRawData, toRawData, toRawData, toRawData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • attachment

      protected org.noear.solon.net.websocket.WebSocket attachment
  • Constructor Details

    • GyWebSocket

      public GyWebSocket(org.glassfish.grizzly.websockets.ProtocolHandler protocolHandler, org.glassfish.grizzly.http.HttpRequestPacket request, org.glassfish.grizzly.websockets.WebSocketListener... listeners)