public abstract class CompressExtension extends AbstractExtension
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Modifier and Type | Method and Description |
|---|---|
static boolean |
endsWithTail(ByteBuffer buf) |
Deflater |
getDeflater() |
Inflater |
getInflater() |
boolean |
isRsv1User()
Indicates use of RSV1 flag for indicating deflation is in use.
|
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode)
A frame, and optional callback, intended for the network layer.
|
void |
setDeflaterPool(org.eclipse.jetty.util.compression.DeflaterPool deflaterPool) |
void |
setInflaterPool(org.eclipse.jetty.util.compression.InflaterPool inflaterPool) |
String |
toString() |
getBufferPool, getConfig, getConnection, getName, getNextIncoming, getNextOutgoing, getPolicy, init, init, isRsv2User, isRsv3User, setBufferPool, setConfig, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicyaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitincomingFramepublic void setInflaterPool(org.eclipse.jetty.util.compression.InflaterPool inflaterPool)
public void setDeflaterPool(org.eclipse.jetty.util.compression.DeflaterPool deflaterPool)
public Deflater getDeflater()
public Inflater getInflater()
public boolean isRsv1User()
isRsv1User in interface ExtensionisRsv1User in class AbstractExtensionpublic void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
OutgoingFramesNote: the frame can undergo many transformations in the various layers and extensions present in the implementation.
If you are implementing a mutation, you are obliged to handle the incoming WriteCallback appropriately.
frame - the frame to eventually write to the network layer.callback - the callback to notify when the frame is written.batchMode - the batch mode requested by the sender.public static boolean endsWithTail(ByteBuffer buf)
public String toString()
toString in class AbstractExtensionCopyright © 2010 - 2020 Adobe. All Rights Reserved