| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final WebSocketExtensionFilterProvider | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | DeflateFrameClientExtensionHandshaker(boolean useWebkitExtensionName)
Constructor with default configuration. |
| public | DeflateFrameClientExtensionHandshaker(int
Compression level between 0 and 9 (default is 6). compressionLevel, boolean useWebkitExtensionName)Constructor with custom configuration. |
| public | DeflateFrameClientExtensionHandshaker(int
Compression level between 0 and 9 (default is 6). compressionLevel, boolean useWebkitExtensionName, WebSocketExtensionFilterProvider provides client extension filters for per frame deflate encoder and decoder. extensionFilterProvider)Constructor with custom configuration. |
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketClientExtension | handshakeExtension(WebSocketExtensionData
the extension configuration sent by the server. extensionData)Implements io. |
| public WebSocketExtensionData | newRequestData()
Implements io. |
| compressionLevel | back to summary |
|---|---|
| private final int compressionLevel | |
| extensionFilterProvider | back to summary |
|---|---|
| private final WebSocketExtensionFilterProvider extensionFilterProvider | |
| useWebkitExtensionName | back to summary |
|---|---|
| private final boolean useWebkitExtensionName | |
| DeflateFrameClientExtensionHandshaker | back to summary |
|---|---|
| public DeflateFrameClientExtensionHandshaker(boolean useWebkitExtensionName) Constructor with default configuration. | |
| DeflateFrameClientExtensionHandshaker | back to summary |
|---|---|
| public DeflateFrameClientExtensionHandshaker(int compressionLevel, boolean useWebkitExtensionName) Constructor with custom configuration.
| |
| DeflateFrameClientExtensionHandshaker | back to summary |
|---|---|
| public DeflateFrameClientExtensionHandshaker(int compressionLevel, boolean useWebkitExtensionName, WebSocketExtensionFilterProvider extensionFilterProvider) Constructor with custom configuration.
| |
| handshakeExtension | back to summary |
|---|---|
| public WebSocketClientExtension handshakeExtension(WebSocketExtensionData extensionData) Implements io. Handshake based on server response. It should always succeed because server response should be a request acknowledge.
| |
| newRequestData | back to summary |
|---|---|
| public WebSocketExtensionData newRequestData() Implements io. Doc from io. Return extension configuration to submit to the server.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final WebSocketExtensionFilterProvider |
| Access | Constructor and Description |
|---|---|
| pack-priv | DeflateFrameClientExtension(int compressionLevel, WebSocketExtensionFilterProvider extensionFilterProvider)
|
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketExtensionDecoder | |
| public WebSocketExtensionEncoder | |
| public int |
| compressionLevel | back to summary |
|---|---|
| private final int compressionLevel | |
| extensionFilterProvider | back to summary |
|---|---|
| private final WebSocketExtensionFilterProvider extensionFilterProvider | |
| DeflateFrameClientExtension | back to summary |
|---|---|
| pack-priv DeflateFrameClientExtension(int compressionLevel, WebSocketExtensionFilterProvider extensionFilterProvider) | |
| newExtensionDecoder | back to summary |
|---|---|
| public WebSocketExtensionDecoder newExtensionDecoder() Implements io.
| |
| newExtensionEncoder | back to summary |
|---|---|
| public WebSocketExtensionEncoder newExtensionEncoder() Implements io.
| |
| rsv | back to summary |
|---|---|
| public int rsv() Implements io.
| |