Class WebSocketServerProtocolConfig

java.lang.Object
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig

public final class WebSocketServerProtocolConfig extends Object
WebSocket server configuration.
  • Field Details

    • DEFAULT_HANDSHAKE_TIMEOUT_MILLIS

      static final long DEFAULT_HANDSHAKE_TIMEOUT_MILLIS
      See Also:
    • websocketPath

      private final String websocketPath
    • subprotocols

      private final String subprotocols
    • checkStartsWith

      private final boolean checkStartsWith
    • handshakeTimeoutMillis

      private final long handshakeTimeoutMillis
    • forceCloseTimeoutMillis

      private final long forceCloseTimeoutMillis
    • handleCloseFrames

      private final boolean handleCloseFrames
    • sendCloseFrame

      private final WebSocketCloseStatus sendCloseFrame
    • dropPongFrames

      private final boolean dropPongFrames
    • decoderConfig

      private final WebSocketDecoderConfig decoderConfig
  • Constructor Details

    • WebSocketServerProtocolConfig

      private WebSocketServerProtocolConfig(String websocketPath, String subprotocols, boolean checkStartsWith, long handshakeTimeoutMillis, long forceCloseTimeoutMillis, boolean handleCloseFrames, WebSocketCloseStatus sendCloseFrame, boolean dropPongFrames, WebSocketDecoderConfig decoderConfig)
  • Method Details