| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| pack-priv static final String | |
| private final WebSocketExtensionFilterProvider | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DeflateFrameServerExtensionHandshaker(int
Compression level between 0 and 9 (default is 6). compressionLevel)Constructor with custom configuration. |
| public | DeflateFrameServerExtensionHandshaker(int
Compression level between 0 and 9 (default is 6). compressionLevel, WebSocketExtensionFilterProvider provides server extension filters for per frame 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. |
| compressionLevel | back to summary |
|---|---|
| private final int compressionLevel | |
| DEFLATE_FRAME_EXTENSION | back to summary |
|---|---|
| pack-priv static final String DEFLATE_FRAME_EXTENSION | |
| extensionFilterProvider | back to summary |
|---|---|
| private final WebSocketExtensionFilterProvider extensionFilterProvider | |
| X_WEBKIT_DEFLATE_FRAME_EXTENSION | back to summary |
|---|---|
| pack-priv static final String X_WEBKIT_DEFLATE_FRAME_EXTENSION | |
| DeflateFrameServerExtensionHandshaker | back to summary |
|---|---|
| public DeflateFrameServerExtensionHandshaker() Constructor with default configuration. | |
| DeflateFrameServerExtensionHandshaker | back to summary |
|---|---|
| public DeflateFrameServerExtensionHandshaker(int compressionLevel) Constructor with custom configuration.
| |
| DeflateFrameServerExtensionHandshaker | back to summary |
|---|---|
| public DeflateFrameServerExtensionHandshaker(int compressionLevel, 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 int | |
| private final WebSocketExtensionFilterProvider | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | DeflateFrameServerExtension(int compressionLevel, String extensionName, WebSocketExtensionFilterProvider extensionFilterProvider)
|
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketExtensionDecoder | |
| public WebSocketExtensionEncoder | |
| public WebSocketExtensionData | newReponseData()
Implements io. |
| public int |
| compressionLevel | back to summary |
|---|---|
| private final int compressionLevel | |
| extensionFilterProvider | back to summary |
|---|---|
| private final WebSocketExtensionFilterProvider extensionFilterProvider | |
| extensionName | back to summary |
|---|---|
| private final String extensionName | |
| DeflateFrameServerExtension | back to summary |
|---|---|
| pack-priv DeflateFrameServerExtension(int compressionLevel, String extensionName, WebSocketExtensionFilterProvider extensionFilterProvider) | |
| newExtensionDecoder | back to summary |
|---|---|
| public WebSocketExtensionDecoder newExtensionDecoder() Implements io.
| |
| newExtensionEncoder | back to summary |
|---|---|
| public WebSocketExtensionEncoder newExtensionEncoder() Implements io.
| |
| newReponseData | back to summary |
|---|---|
| public WebSocketExtensionData newReponseData() 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.
| |