class PerFrameDeflateDecoder extends DeflateDecoder
ChannelHandler.Sharable
FRAME_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, handlerRemoved
channelRead
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded
public PerFrameDeflateDecoder(boolean noContext)
noContext
- true to disable context takeover.public boolean acceptInboundMessage(java.lang.Object msg) throws java.lang.Exception
MessageToMessageDecoder
true
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.Exception
protected int newRsv(WebSocketFrame msg)
newRsv
in class DeflateDecoder
protected boolean appendFrameTail(WebSocketFrame msg)
appendFrameTail
in class DeflateDecoder