public class PerMessageDeflateExtension extends CompressExtension
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerRSV_USE_ALWAYS, RSV_USE_ONLY_FIRST, TAIL_BYTES, TAIL_DROP_ALWAYS, TAIL_DROP_FIN_ONLY, TAIL_DROP_NEVER| Constructor and Description |
|---|
PerMessageDeflateExtension() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The
Sec-WebSocket-Extensions name for this extension. |
void |
incomingFrame(Frame frame)
Process the incoming frame.
|
protected void |
nextIncomingFrame(Frame frame) |
protected void |
nextOutgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
void |
setConfig(ExtensionConfig config) |
String |
toString() |
decompress, forwardIncoming, getDeflater, getInflater, isRsv1User, notifyCallbackFailure, notifyCallbackSuccess, outgoingFramedump, dumpWithHeading, getBufferPool, getConfig, getConnection, getNextIncoming, getNextOutgoing, getPolicy, incomingError, isRsv2User, isRsv3User, nextIncomingError, setBufferPool, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicyaddBean, addBean, addBean, addEventListener, addManaged, 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, stoppublic String getName()
ExtensionSec-WebSocket-Extensions name for this extension.
Also known as the extension-token per Section 9.1. Negotiating Extensions.
getName in interface ExtensiongetName in class AbstractExtensionpublic void incomingFrame(Frame frame)
IncomingFramesNote: if you need to hang onto any information from the frame, be sure to copy it, as the information contained in the Frame will be released and/or reused by the implementation.
frame - the frame to processprotected void nextIncomingFrame(Frame frame)
nextIncomingFrame in class AbstractExtensionprotected void nextOutgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
nextOutgoingFrame in class AbstractExtensionpublic void setConfig(ExtensionConfig config)
setConfig in class AbstractExtensionpublic String toString()
toString in class CompressExtensionCopyright © 1995-2015 Webtide. All Rights Reserved.