Class WebSocketHolder

java.lang.Object
org.glassfish.grizzly.websockets.WebSocketHolder

public final class WebSocketHolder extends Object
WebSocketHolder object, which gets associated with the Grizzly Connection.
  • Field Details

    • webSocket

      public volatile WebSocket webSocket
    • handshake

      public volatile HandShake handshake
    • application

      public volatile WebSocketApplication application
    • buffer

      public volatile org.glassfish.grizzly.Buffer buffer
    • handler

      public volatile ProtocolHandler handler
  • Method Details

    • isWebSocketInProgress

      public static boolean isWebSocketInProgress(org.glassfish.grizzly.Connection connection)
    • getWebSocket

      public static WebSocket getWebSocket(org.glassfish.grizzly.Connection connection)
    • get

      public static WebSocketHolder get(org.glassfish.grizzly.Connection connection)
    • set

      public static WebSocketHolder set(org.glassfish.grizzly.Connection connection, ProtocolHandler handler, WebSocket socket)