public abstract class CompressExtension extends AbstractExtension
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
TAIL_BYTES |
| Modifier | Constructor and Description |
|---|---|
protected |
CompressExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected ByteAccumulator |
decompress(byte[] input) |
protected void |
forwardIncoming(Frame frame,
ByteAccumulator accumulator) |
Deflater |
getDeflater() |
Inflater |
getInflater() |
boolean |
isRsv1User()
Indicates use of RSV1 flag for indicating deflation is in use.
|
protected void |
notifyCallbackFailure(WriteCallback callback,
Throwable failure) |
protected void |
notifyCallbackSuccess(WriteCallback callback) |
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
String |
toString() |
dump, dumpWithHeading, getBufferPool, getConfig, getConnection, getName, getNextIncoming, getNextOutgoing, getPolicy, incomingError, isRsv2User, isRsv3User, nextIncomingError, nextIncomingFrame, nextOutgoingFrame, setBufferPool, setConfig, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicyaddBean, addBean, addBean, addEventListener, contains, destroy, doStart, doStop, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitincomingFramepublic Deflater getDeflater()
public Inflater getInflater()
public boolean isRsv1User()
isRsv1User in interface ExtensionisRsv1User in class AbstractExtensionprotected void forwardIncoming(Frame frame, ByteAccumulator accumulator)
protected ByteAccumulator decompress(byte[] input)
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
protected void notifyCallbackSuccess(WriteCallback callback)
protected void notifyCallbackFailure(WriteCallback callback, Throwable failure)
public String toString()
toString in class AbstractExtensionCopyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.