Class WebSocketServerProtocolConfig
java.lang.Object
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig
WebSocket server configuration.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final WebSocketDecoderConfig(package private) static final longprivate final booleanprivate final longprivate final booleanprivate final longprivate final WebSocketCloseStatusprivate final Stringprivate final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateWebSocketServerProtocolConfig(String websocketPath, String subprotocols, boolean checkStartsWith, long handshakeTimeoutMillis, long forceCloseTimeoutMillis, boolean handleCloseFrames, WebSocketCloseStatus sendCloseFrame, boolean dropPongFrames, WebSocketDecoderConfig decoderConfig) -
Method Summary
-
Field Details
-
DEFAULT_HANDSHAKE_TIMEOUT_MILLIS
static final long DEFAULT_HANDSHAKE_TIMEOUT_MILLIS- See Also:
-
websocketPath
-
subprotocols
-
checkStartsWith
private final boolean checkStartsWith -
handshakeTimeoutMillis
private final long handshakeTimeoutMillis -
forceCloseTimeoutMillis
private final long forceCloseTimeoutMillis -
handleCloseFrames
private final boolean handleCloseFrames -
sendCloseFrame
-
dropPongFrames
private final boolean dropPongFrames -
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
-
websocketPath
-
subprotocols
-
checkStartsWith
public boolean checkStartsWith() -
handshakeTimeoutMillis
public long handshakeTimeoutMillis() -
forceCloseTimeoutMillis
public long forceCloseTimeoutMillis() -
handleCloseFrames
public boolean handleCloseFrames() -
sendCloseFrame
-
dropPongFrames
public boolean dropPongFrames() -
decoderConfig
-
toString
-
toBuilder
-
newBuilder
-