Constructor and Description |
---|
PerMessageDeflateDecoder(boolean noContext)
Constructs a per-message deflate decoder with specified context takeover
control.
|
PerMessageDeflateDecoder(boolean noContext,
int minInflateBound)
Constructs a per-message deflate decoder with specified context takeover
control and minimum upper bound on the decompressed size.
|
Modifier and Type | Method and Description |
---|---|
void |
added(ISession session,
ICodecPipeline pipeline) |
void |
decode(ISession session,
Frame frame,
List<Frame> out) |
void |
event(ISession session,
SessionEvent event) |
Class<Frame> |
getInboundType() |
Class<Frame> |
getOutboundType() |
void |
removed(ISession session,
ICodecPipeline pipeline) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInboundType, getOutboundType
added, event, removed
public PerMessageDeflateDecoder(boolean noContext, int minInflateBound)
noContext
- true
to prevent from using the context
takeoverminInflateBound
- determines the minimum upper bound on the decompressed
size. Setting this parameter to proper value may speed
up the decompression of highly compressed data.public PerMessageDeflateDecoder(boolean noContext)
noContext
- true
to prevent from using the context
takeoverpublic Class<Frame> getInboundType()
getInboundType
in interface ICodec<Frame,Frame>
public Class<Frame> getOutboundType()
getOutboundType
in interface ICodec<Frame,Frame>
public void added(ISession session, ICodecPipeline pipeline)
added
in interface IEventDrivenCodec
public void event(ISession session, SessionEvent event)
event
in interface IEventDrivenCodec
public void removed(ISession session, ICodecPipeline pipeline)
removed
in interface IEventDrivenCodec
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.