Class WebSocketClientProtocolConfig
java.lang.Object
io.netty.handler.codec.http.websocketx.WebSocketClientProtocolConfig
WebSocket server configuration.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
private final boolean
private final HttpHeaders
(package private) static final boolean
(package private) static final boolean
(package private) static final boolean
(package private) static final boolean
(package private) static final boolean
(package private) static final boolean
private final boolean
private final long
private final boolean
private final boolean
private final long
private final int
private final boolean
private final WebSocketCloseStatus
private final String
private final WebSocketVersion
private final URI
private final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
WebSocketClientProtocolConfig
(URI webSocketUri, String subprotocol, WebSocketVersion version, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, boolean handleCloseFrames, WebSocketCloseStatus sendCloseFrame, boolean dropPongFrames, long handshakeTimeoutMillis, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader, boolean withUTF8Validator) -
Method Summary
-
Field Details
-
DEFAULT_PERFORM_MASKING
static final boolean DEFAULT_PERFORM_MASKING- See Also:
-
DEFAULT_ALLOW_MASK_MISMATCH
static final boolean DEFAULT_ALLOW_MASK_MISMATCH- See Also:
-
DEFAULT_HANDLE_CLOSE_FRAMES
static final boolean DEFAULT_HANDLE_CLOSE_FRAMES- See Also:
-
DEFAULT_DROP_PONG_FRAMES
static final boolean DEFAULT_DROP_PONG_FRAMES- See Also:
-
DEFAULT_GENERATE_ORIGIN_HEADER
static final boolean DEFAULT_GENERATE_ORIGIN_HEADER- See Also:
-
DEFAULT_WITH_UTF8_VALIDATOR
static final boolean DEFAULT_WITH_UTF8_VALIDATOR- See Also:
-
webSocketUri
-
subprotocol
-
version
-
allowExtensions
private final boolean allowExtensions -
customHeaders
-
maxFramePayloadLength
private final int maxFramePayloadLength -
performMasking
private final boolean performMasking -
allowMaskMismatch
private final boolean allowMaskMismatch -
handleCloseFrames
private final boolean handleCloseFrames -
sendCloseFrame
-
dropPongFrames
private final boolean dropPongFrames -
handshakeTimeoutMillis
private final long handshakeTimeoutMillis -
forceCloseTimeoutMillis
private final long forceCloseTimeoutMillis -
absoluteUpgradeUrl
private final boolean absoluteUpgradeUrl -
generateOriginHeader
private final boolean generateOriginHeader -
withUTF8Validator
private final boolean withUTF8Validator
-
-
Constructor Details
-
WebSocketClientProtocolConfig
private WebSocketClientProtocolConfig(URI webSocketUri, String subprotocol, WebSocketVersion version, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, boolean handleCloseFrames, WebSocketCloseStatus sendCloseFrame, boolean dropPongFrames, long handshakeTimeoutMillis, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader, boolean withUTF8Validator)
-
-
Method Details
-
webSocketUri
-
subprotocol
-
version
-
allowExtensions
public boolean allowExtensions() -
customHeaders
-
maxFramePayloadLength
public int maxFramePayloadLength() -
performMasking
public boolean performMasking() -
allowMaskMismatch
public boolean allowMaskMismatch() -
handleCloseFrames
public boolean handleCloseFrames() -
sendCloseFrame
-
dropPongFrames
public boolean dropPongFrames() -
handshakeTimeoutMillis
public long handshakeTimeoutMillis() -
forceCloseTimeoutMillis
public long forceCloseTimeoutMillis() -
absoluteUpgradeUrl
public boolean absoluteUpgradeUrl() -
generateOriginHeader
public boolean generateOriginHeader() -
withUTF8Validator
public boolean withUTF8Validator() -
toString
-
toBuilder
-
newBuilder
-