Class WebSocketConstants

java.lang.Object
org.eclipse.jetty.websocket.core.WebSocketConstants

public final class WebSocketConstants extends Object
  • Field Details

    • SPEC_VERSION

      public static final int SPEC_VERSION
      See Also:
    • SPEC_VERSION_STRING

      public static final String SPEC_VERSION_STRING
    • DEFAULT_MAX_BINARY_MESSAGE_SIZE

      public static final int DEFAULT_MAX_BINARY_MESSAGE_SIZE
      See Also:
    • DEFAULT_MAX_TEXT_MESSAGE_SIZE

      public static final int DEFAULT_MAX_TEXT_MESSAGE_SIZE
      See Also:
    • DEFAULT_MAX_FRAME_SIZE

      public static final int DEFAULT_MAX_FRAME_SIZE
      See Also:
    • DEFAULT_INPUT_BUFFER_SIZE

      public static final int DEFAULT_INPUT_BUFFER_SIZE
      See Also:
    • DEFAULT_OUTPUT_BUFFER_SIZE

      public static final int DEFAULT_OUTPUT_BUFFER_SIZE
      See Also:
    • DEFAULT_MAX_OUTGOING_FRAMES

      public static final int DEFAULT_MAX_OUTGOING_FRAMES
      See Also:
    • DEFAULT_AUTO_FRAGMENT

      public static final boolean DEFAULT_AUTO_FRAGMENT
      See Also:
    • DEFAULT_IDLE_TIMEOUT

      public static final Duration DEFAULT_IDLE_TIMEOUT
    • DEFAULT_WRITE_TIMEOUT

      public static final Duration DEFAULT_WRITE_TIMEOUT
    • MAGIC

      public static final byte[] MAGIC
      Globally Unique Identifier for use in WebSocket handshake within Sec-WebSocket-Accept and Sec-WebSocket-Key http headers.

      See Opening Handshake (Section 1.3)