class PerFrameDeflateDecoder extends DeflateDecoder
ChannelHandler.SharableFRAME_TAIL| Constructor and Description |
|---|
PerFrameDeflateDecoder(boolean noContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptInboundMessage(java.lang.Object msg)
Returns
true if the given message should be handled. |
protected boolean |
appendFrameTail(WebSocketFrame msg) |
protected int |
newRsv(WebSocketFrame msg) |
channelInactive, decode, handlerRemovedchannelReadchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAddedpublic PerFrameDeflateDecoder(boolean noContext)
noContext - true to disable context takeover.public boolean acceptInboundMessage(java.lang.Object msg)
throws java.lang.Exception
MessageToMessageDecodertrue if the given message should be handled. If false it will be passed to the next
ChannelInboundHandler in the ChannelPipeline.acceptInboundMessage in class MessageToMessageDecoder<WebSocketFrame>java.lang.Exceptionprotected int newRsv(WebSocketFrame msg)
newRsv in class DeflateDecoderprotected boolean appendFrameTail(WebSocketFrame msg)
appendFrameTail in class DeflateDecoder