public final class DeflateFrameServerExtensionHandshaker extends Object implements WebSocketServerExtensionHandshaker
Constructor and Description |
---|
DeflateFrameServerExtensionHandshaker()
Constructor with default configuration.
|
DeflateFrameServerExtensionHandshaker(int compressionLevel)
Constructor with custom configuration.
|
Modifier and Type | Method and Description |
---|---|
WebSocketServerExtension |
handshakeExtension(WebSocketExtensionData extensionData)
Handshake based on client request.
|
public DeflateFrameServerExtensionHandshaker()
public DeflateFrameServerExtensionHandshaker(int compressionLevel)
compressionLevel
- Compression level between 0 and 9 (default is 6).public WebSocketServerExtension handshakeExtension(WebSocketExtensionData extensionData)
WebSocketServerExtensionHandshaker
handshakeExtension
in interface WebSocketServerExtensionHandshaker
extensionData
- the extension configuration sent by the client.Copyright © 2008–2017 The Netty Project. All rights reserved.