public class DeflateFrameExtension extends CompressExtension
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
DeflateFrameExtension() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The
Sec-WebSocket-Extensions name for this extension. |
void |
incomingFrame(Frame frame)
Process the incoming frame.
|
endsWithTail, getDeflater, getInflater, isRsv1User, outgoingFrame, setDeflaterPool, setInflaterPool, toStringgetBufferPool, getConfig, getConnection, 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, 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 processCopyright © 2010 - 2020 Adobe. All Rights Reserved