| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final HttpHeaders | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| private final boolean | |
| private final long | |
| private final boolean | |
| private final long | |
| private final int | |
| private final boolean | |
| private final WebSocketCloseStatus | |
| private final String | |
| private final WebSocketVersion | |
| private final URI |
| Access | Constructor and Description |
|---|---|
| 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)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public HttpHeaders | |
| public boolean | |
| public long | |
| public boolean | |
| public long | |
| public int | |
| public static WebSocketClientProtocolConfig. | |
| public boolean | |
| public WebSocketCloseStatus | |
| public String | |
| public WebSocketClientProtocolConfig. | |
| public String | |
| public WebSocketVersion | |
| public URI |
| absoluteUpgradeUrl | back to summary |
|---|---|
| private final boolean absoluteUpgradeUrl | |
| allowExtensions | back to summary |
|---|---|
| private final boolean allowExtensions | |
| allowMaskMismatch | back to summary |
|---|---|
| private final boolean allowMaskMismatch | |
| customHeaders | back to summary |
|---|---|
| private final HttpHeaders customHeaders | |
| DEFAULT_ALLOW_MASK_MISMATCH | back to summary |
|---|---|
| pack-priv static final boolean DEFAULT_ALLOW_MASK_MISMATCH | |
| DEFAULT_DROP_PONG_FRAMES | back to summary |
|---|---|
| pack-priv static final boolean DEFAULT_DROP_PONG_FRAMES | |
| DEFAULT_HANDLE_CLOSE_FRAMES | back to summary |
|---|---|
| pack-priv static final boolean DEFAULT_HANDLE_CLOSE_FRAMES | |
| DEFAULT_PERFORM_MASKING | back to summary |
|---|---|
| pack-priv static final boolean DEFAULT_PERFORM_MASKING | |
| dropPongFrames | back to summary |
|---|---|
| private final boolean dropPongFrames | |
| forceCloseTimeoutMillis | back to summary |
|---|---|
| private final long forceCloseTimeoutMillis | |
| handleCloseFrames | back to summary |
|---|---|
| private final boolean handleCloseFrames | |
| handshakeTimeoutMillis | back to summary |
|---|---|
| private final long handshakeTimeoutMillis | |
| maxFramePayloadLength | back to summary |
|---|---|
| private final int maxFramePayloadLength | |
| performMasking | back to summary |
|---|---|
| private final boolean performMasking | |
| sendCloseFrame | back to summary |
|---|---|
| private final WebSocketCloseStatus sendCloseFrame | |
| subprotocol | back to summary |
|---|---|
| private final String subprotocol | |
| version | back to summary |
|---|---|
| private final WebSocketVersion version | |
| webSocketUri | back to summary |
|---|---|
| private final URI webSocketUri | |
| WebSocketClientProtocolConfig | back to summary |
|---|---|
| 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) | |
| absoluteUpgradeUrl | back to summary |
|---|---|
| public boolean absoluteUpgradeUrl() | |
| allowExtensions | back to summary |
|---|---|
| public boolean allowExtensions() | |
| allowMaskMismatch | back to summary |
|---|---|
| public boolean allowMaskMismatch() | |
| customHeaders | back to summary |
|---|---|
| public HttpHeaders customHeaders() | |
| dropPongFrames | back to summary |
|---|---|
| public boolean dropPongFrames() | |
| forceCloseTimeoutMillis | back to summary |
|---|---|
| public long forceCloseTimeoutMillis() | |
| handleCloseFrames | back to summary |
|---|---|
| public boolean handleCloseFrames() | |
| handshakeTimeoutMillis | back to summary |
|---|---|
| public long handshakeTimeoutMillis() | |
| maxFramePayloadLength | back to summary |
|---|---|
| public int maxFramePayloadLength() | |
| newBuilder | back to summary |
|---|---|
| public static WebSocketClientProtocolConfig. | |
| performMasking | back to summary |
|---|---|
| public boolean performMasking() | |
| sendCloseFrame | back to summary |
|---|---|
| public WebSocketCloseStatus sendCloseFrame() | |
| subprotocol | back to summary |
|---|---|
| public String subprotocol() | |
| toBuilder | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| version | back to summary |
|---|---|
| public WebSocketVersion version() | |
| webSocketUri | back to summary |
|---|---|
| public URI webSocketUri() | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private HttpHeaders | |
| private boolean | |
| private long | |
| private boolean | |
| private long | |
| private int | |
| private boolean | |
| private WebSocketCloseStatus | |
| private String | |
| private WebSocketVersion | |
| private URI |
| Access | Constructor and Description |
|---|---|
| private | |
| private | Builder(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)
|
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketClientProtocolConfig. | absoluteUpgradeUrl(boolean absoluteUpgradeUrl)
Use an absolute url for the Upgrade request, typically when connecting through an HTTP proxy over clear HTTP |
| public WebSocketClientProtocolConfig. | allowExtensions(boolean allowExtensions)
Allow extensions to be used in the reserved bits of the web socket frame |
| public WebSocketClientProtocolConfig. | allowMaskMismatch(boolean allowMaskMismatch)
When set to true, frames which are not masked properly according to the standard will still be accepted. |
| public WebSocketClientProtocolConfig | |
| public WebSocketClientProtocolConfig. | |
| public WebSocketClientProtocolConfig. | |
| public WebSocketClientProtocolConfig. | forceCloseTimeoutMillis(long forceCloseTimeoutMillis)
Close the connection if it was not closed by the server after timeout specified |
| public WebSocketClientProtocolConfig. | handleCloseFrames(boolean handleCloseFrames)
|
| public WebSocketClientProtocolConfig. | handshakeTimeoutMillis(long handshakeTimeoutMillis)
Handshake timeout in millis, when handshake timeout, will trigger an inbound channel
event |
| public WebSocketClientProtocolConfig. | |
| public WebSocketClientProtocolConfig. | |
| public WebSocketClientProtocolConfig. | sendCloseFrame(WebSocketCloseStatus sendCloseFrame)
Close frame to send, when close frame was not send manually. |
| public WebSocketClientProtocolConfig. | |
| public WebSocketClientProtocolConfig. | version(WebSocketVersion version)
Version of web socket specification to use to connect to the server |
| public WebSocketClientProtocolConfig. | |
| public WebSocketClientProtocolConfig. |
| absoluteUpgradeUrl | back to summary |
|---|---|
| private boolean absoluteUpgradeUrl | |
| allowExtensions | back to summary |
|---|---|
| private boolean allowExtensions | |
| allowMaskMismatch | back to summary |
|---|---|
| private boolean allowMaskMismatch | |
| customHeaders | back to summary |
|---|---|
| private HttpHeaders customHeaders | |
| dropPongFrames | back to summary |
|---|---|
| private boolean dropPongFrames | |
| forceCloseTimeoutMillis | back to summary |
|---|---|
| private long forceCloseTimeoutMillis | |
| handleCloseFrames | back to summary |
|---|---|
| private boolean handleCloseFrames | |
| handshakeTimeoutMillis | back to summary |
|---|---|
| private long handshakeTimeoutMillis | |
| maxFramePayloadLength | back to summary |
|---|---|
| private int maxFramePayloadLength | |
| performMasking | back to summary |
|---|---|
| private boolean performMasking | |
| sendCloseFrame | back to summary |
|---|---|
| private WebSocketCloseStatus sendCloseFrame | |
| subprotocol | back to summary |
|---|---|
| private String subprotocol | |
| version | back to summary |
|---|---|
| private WebSocketVersion version | |
| webSocketUri | back to summary |
|---|---|
| private URI webSocketUri | |
| Builder | back to summary |
|---|---|
| private Builder(WebSocketClientProtocolConfig clientConfig) | |
| Builder | back to summary |
|---|---|
| private Builder(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) | |
| absoluteUpgradeUrl | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Use an absolute url for the Upgrade request, typically when connecting through an HTTP proxy over clear HTTP | |
| allowExtensions | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Allow extensions to be used in the reserved bits of the web socket frame | |
| allowMaskMismatch | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. When set to true, frames which are not masked properly according to the standard will still be accepted. | |
| build | back to summary |
|---|---|
| public WebSocketClientProtocolConfig build() Build unmodifiable client protocol configuration. | |
| customHeaders | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Map of custom headers to add to the client request | |
| dropPongFrames | back to summary |
|---|---|
| public WebSocketClientProtocolConfig.
| |
| forceCloseTimeoutMillis | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Close the connection if it was not closed by the server after timeout specified | |
| handleCloseFrames | back to summary |
|---|---|
| public WebSocketClientProtocolConfig.
| |
| handshakeTimeoutMillis | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Handshake timeout in millis, when handshake timeout, will trigger an inbound channel
event | |
| maxFramePayloadLength | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Maximum length of a frame's payload | |
| performMasking | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Whether to mask all written websocket frames. This must be set to true in order to be fully compatible with the websocket specifications. Client applications that communicate with a non-standard server which doesn't require masking might set this to false to achieve a higher performance. | |
| sendCloseFrame | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Close frame to send, when close frame was not send manually. Or | |
| subprotocol | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Sub protocol request sent to the server. | |
| version | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. Version of web socket specification to use to connect to the server | |
| webSocketUri | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. URL for web socket communications. e.g "ws://myhost.com/mypath". Subsequent web socket frames will be sent to this URL. | |
| webSocketUri | back to summary |
|---|---|
| public WebSocketClientProtocolConfig. URL for web socket communications. e.g "ws://myhost.com/mypath". Subsequent web socket frames will be sent to this URL. | |