| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | PerMessageDeflateDecoder(boolean
true to disable context takeover. noContext, WebSocketExtensionFilter extension decoder for per message deflate decoder. extensionDecoderFilter)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | acceptInboundMessage(Object msg)
Overrides io. true if the given message should be handled.
|
| protected boolean | |
| protected void | decodeAndClose(ChannelHandlerContext
the ctx, WebSocketFrame ChannelHandlerContext which this MessageToMessageDecoder belongs tothe message to decode to another one msg)Overrides io. |
| protected int | newRsv(WebSocketFrame msg)
Implements abstract io. |
| compressing | back to summary |
|---|---|
| private boolean compressing | |
| PerMessageDeflateDecoder | back to summary |
|---|---|
| pack-priv PerMessageDeflateDecoder(boolean noContext) Constructor
| |
| PerMessageDeflateDecoder | back to summary |
|---|---|
| pack-priv PerMessageDeflateDecoder(boolean noContext, WebSocketExtensionFilter extensionDecoderFilter) Constructor
| |
| acceptInboundMessage | back to summary |
|---|---|
| public boolean acceptInboundMessage(Object msg) throws Exception Overrides io. Doc from io. Returns
| |
| appendFrameTail | back to summary |
|---|---|
| protected boolean appendFrameTail(WebSocketFrame msg) Implements abstract io.
| |
| decodeAndClose | back to summary |
|---|---|
| protected void decodeAndClose(ChannelHandlerContext ctx, WebSocketFrame msg) throws Exception Overrides io. Doc from io. Decode from one message to another. This method will be called for each written message that can be handled by this decoder. The message will not be automatically disposed of after this call. Instead, the responsibility of ensuring that messages are disposed of falls upon the implementor of this method.
Subclasses that wish to have incoming messages automatically disposed of should instead override the
| |
| newRsv | back to summary |
|---|---|
| protected int newRsv(WebSocketFrame msg) Implements abstract io.
| |