| Modifier and Type | Field and Description |
|---|---|
| private EmbeddedChannel | |
| private final WebSocketExtensionFilter | |
| pack-priv static final Supplier | |
| pack-priv static final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | DeflateDecoder(boolean
true to disable context takeover. noContext, WebSocketExtensionFilter extension decoder filter. extensionDecoderFilter)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract boolean | |
| public void | channelInactive(ChannelHandlerContext ctx)
Overrides default io. Channel of the ChannelHandlerContext was registered is now inactive and reached its
end of lifetime.
|
| private void | |
| protected final void | decode(ChannelHandlerContext
the ctx, WebSocketFrame ChannelHandlerContext which this MessageToMessageDecoder belongs tothe message to decode to another one msg)Overrides io. |
| protected void | decodeAndClose(ChannelHandlerContext
the ctx, WebSocketFrame ChannelHandlerContext which this MessageToMessageDecoder belongs tothe message to decode to another one msg)Overrides io. |
| private Buffer | |
| protected WebSocketExtensionFilter | |
| public void | handlerRemoved(ChannelHandlerContext ctx)
Overrides default io. ChannelHandler was removed from the actual context and it doesn't handle events
anymore.
|
| private static boolean | |
| protected abstract int |
| decoder | back to summary |
|---|---|
| private EmbeddedChannel decoder | |
| extensionDecoderFilter | back to summary |
|---|---|
| private final WebSocketExtensionFilter extensionDecoderFilter | |
| FRAME_TAIL | back to summary |
|---|---|
| pack-priv static final Supplier<Buffer> FRAME_TAIL | |
| FRAME_TAIL_LENGTH | back to summary |
|---|---|
| pack-priv static final int FRAME_TAIL_LENGTH | |
| noContext | back to summary |
|---|---|
| private final boolean noContext | |
| DeflateDecoder | back to summary |
|---|---|
| pack-priv DeflateDecoder(boolean noContext, WebSocketExtensionFilter extensionDecoderFilter) Constructor
| |
| appendFrameTail | back to summary |
|---|---|
| protected abstract boolean appendFrameTail(WebSocketFrame msg) | |
| channelInactive | back to summary |
|---|---|
| public void channelInactive(ChannelHandlerContext ctx) throws Exception Overrides default io. Doc from io. The
| |
| cleanup | back to summary |
|---|---|
| private void cleanup() | |
| decode | back to summary |
|---|---|
| protected final void decode(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 be disposed of after this call.
Subclasses that wish to sometimes pass messages through, should instead override the
| |
| 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
| |
| decompressContent | back to summary |
|---|---|
| private Buffer decompressContent(ChannelHandlerContext ctx, WebSocketFrame msg) | |
| extensionDecoderFilter | back to summary |
|---|---|
| protected WebSocketExtensionFilter extensionDecoderFilter() Returns the extension decoder filter. | |
| handlerRemoved | back to summary |
|---|---|
| public void handlerRemoved(ChannelHandlerContext ctx) throws Exception Overrides default io. Doc from io. Gets called after the
| |
| isEmptyDeflateBlock | back to summary |
|---|---|
| private static boolean isEmptyDeflateBlock(Buffer binaryData) | |
| newRsv | back to summary |
|---|---|
| protected abstract int newRsv(WebSocketFrame msg) | |