public class DeflateFrameExtension extends CompressExtension
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerdecompressCount, INFLATE_BUFFER_SIZE, INPUT_MAX_BUFFER_SIZE, RSV_USE_ALWAYS, RSV_USE_ONLY_FIRST, TAIL_BYTES, TAIL_BYTES_BUF, TAIL_DROP_ALWAYS, TAIL_DROP_FIN_ONLY, TAIL_DROP_NEVERFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
DeflateFrameExtension() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The
Sec-WebSocket-Extensions name for this extension. |
void |
incomingFrame(Frame frame)
Process the incoming frame.
|
decompress, doStop, endsWithTail, forwardIncoming, getDeflater, getInflater, isRsv1User, newByteAccumulator, notifyCallbackFailure, notifyCallbackSuccess, outgoingFrame, toStringdump, dump, dumpWithHeading, getBufferPool, getConfig, getConnection, getNextIncoming, getNextOutgoing, getPolicy, incomingError, init, init, isRsv2User, isRsv3User, nextIncomingError, nextIncomingFrame, nextOutgoingFrame, setBufferPool, setConfig, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicyaddLifeCycleListener, doStart, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stoppublic java.lang.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 processCopyright © 1995–2018 Webtide. All rights reserved.