| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| pack-priv static final String | |
| pack-priv static final String | |
| private final int | |
| private final WebSocketExtensionFilterProvider | |
| public static final int | |
| public static final int | |
| pack-priv static final String | |
| private final boolean | |
| private final int | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PerMessageDeflateServerExtensionHandshaker(int
Compression level between 0 and 9 (default is 6). compressionLevel, boolean allows WebSocket client to customize the server inflater window size
(default is false). allowServerWindowSize, int indicates the preferred client window size to use if client inflater is customizable. preferredClientWindowSize, boolean allows WebSocket client to activate server_no_context_takeover
(default is false). allowServerNoContext, boolean indicates if server prefers to activate client_no_context_takeover
if client is compatible with (default is false). preferredClientNoContext)Constructor with custom configuration. |
| public | PerMessageDeflateServerExtensionHandshaker(int
Compression level between 0 and 9 (default is 6). compressionLevel, boolean allows WebSocket client to customize the server inflater window size
(default is false). allowServerWindowSize, int indicates the preferred client window size to use if client inflater is customizable. preferredClientWindowSize, boolean allows WebSocket client to activate server_no_context_takeover
(default is false). allowServerNoContext, boolean indicates if server prefers to activate client_no_context_takeover
if client is compatible with (default is false). preferredClientNoContext, WebSocketExtensionFilterProvider provides server extension filters for per message deflate encoder and decoder. extensionFilterProvider)Constructor with custom configuration. |
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketServerExtension | handshakeExtension(WebSocketExtensionData
the extension configuration sent by the client. extensionData)Implements io. |
| allowServerNoContext | back to summary |
|---|---|
| private final boolean allowServerNoContext | |
| allowServerWindowSize | back to summary |
|---|---|
| private final boolean allowServerWindowSize | |
| CLIENT_MAX_WINDOW | back to summary |
|---|---|
| pack-priv static final String CLIENT_MAX_WINDOW | |
| CLIENT_NO_CONTEXT | back to summary |
|---|---|
| pack-priv static final String CLIENT_NO_CONTEXT | |
| compressionLevel | back to summary |
|---|---|
| private final int compressionLevel | |
| extensionFilterProvider | back to summary |
|---|---|
| private final WebSocketExtensionFilterProvider extensionFilterProvider | |
| MAX_WINDOW_SIZE | back to summary |
|---|---|
| public static final int MAX_WINDOW_SIZE | |
| MIN_WINDOW_SIZE | back to summary |
|---|---|
| public static final int MIN_WINDOW_SIZE | |
| PERMESSAGE_DEFLATE_EXTENSION | back to summary |
|---|---|
| pack-priv static final String PERMESSAGE_DEFLATE_EXTENSION | |
| preferredClientNoContext | back to summary |
|---|---|
| private final boolean preferredClientNoContext | |
| preferredClientWindowSize | back to summary |
|---|---|
| private final int preferredClientWindowSize | |
| SERVER_MAX_WINDOW | back to summary |
|---|---|
| pack-priv static final String SERVER_MAX_WINDOW | |
| SERVER_NO_CONTEXT | back to summary |
|---|---|
| pack-priv static final String SERVER_NO_CONTEXT | |
| PerMessageDeflateServerExtensionHandshaker | back to summary |
|---|---|
| public PerMessageDeflateServerExtensionHandshaker() Constructor with default configuration. | |
| PerMessageDeflateServerExtensionHandshaker | back to summary |
|---|---|
| public PerMessageDeflateServerExtensionHandshaker(int compressionLevel, boolean allowServerWindowSize, int preferredClientWindowSize, boolean allowServerNoContext, boolean preferredClientNoContext) Constructor with custom configuration.
| |
| PerMessageDeflateServerExtensionHandshaker | back to summary |
|---|---|
| public PerMessageDeflateServerExtensionHandshaker(int compressionLevel, boolean allowServerWindowSize, int preferredClientWindowSize, boolean allowServerNoContext, boolean preferredClientNoContext, WebSocketExtensionFilterProvider extensionFilterProvider) Constructor with custom configuration.
| |
| handshakeExtension | back to summary |
|---|---|
| public WebSocketServerExtension handshakeExtension(WebSocketExtensionData extensionData) Implements io. Handshake based on client request. It must failed with null if server cannot handle it.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int | |
| private final int | |
| private final WebSocketExtensionFilterProvider | |
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | PermessageDeflateExtension(int compressionLevel, boolean serverNoContext, int serverWindowSize, boolean clientNoContext, int clientWindowSize, WebSocketExtensionFilterProvider extensionFilterProvider)
|
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketExtensionDecoder | |
| public WebSocketExtensionEncoder | |
| public WebSocketExtensionData | newResponseData()
Implements io. |
| public int |
| clientNoContext | back to summary |
|---|---|
| private final boolean clientNoContext | |
| clientWindowSize | back to summary |
|---|---|
| private final int clientWindowSize | |
| compressionLevel | back to summary |
|---|---|
| private final int compressionLevel | |
| extensionFilterProvider | back to summary |
|---|---|
| private final WebSocketExtensionFilterProvider extensionFilterProvider | |
| serverNoContext | back to summary |
|---|---|
| private final boolean serverNoContext | |
| serverWindowSize | back to summary |
|---|---|
| private final int serverWindowSize | |
| PermessageDeflateExtension | back to summary |
|---|---|
| pack-priv PermessageDeflateExtension(int compressionLevel, boolean serverNoContext, int serverWindowSize, boolean clientNoContext, int clientWindowSize, WebSocketExtensionFilterProvider extensionFilterProvider) | |
| newExtensionDecoder | back to summary |
|---|---|
| public WebSocketExtensionDecoder newExtensionDecoder() Implements io.
| |
| newExtensionEncoder | back to summary |
|---|---|
| public WebSocketExtensionEncoder newExtensionEncoder() Implements io.
| |
| newResponseData | back to summary |
|---|---|
| public WebSocketExtensionData newResponseData() Implements io. Doc from io. Return an extension configuration to submit to the client as an acknowledge.
| |
| rsv | back to summary |
|---|---|
| public int rsv() Implements io.
| |