Class CompressExtension
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.websocket.common.extensions.AbstractExtension
-
- org.eclipse.jetty.websocket.common.extensions.compress.CompressExtension
-
- All Implemented Interfaces:
LifeCycle
,Extension
,IncomingFrames
,OutgoingFrames
- Direct Known Subclasses:
DeflateFrameExtension
,PerMessageDeflateExtension
@Deprecated(since="2021-05-27") public abstract class CompressExtension extends AbstractExtension
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
endsWithTail(java.nio.ByteBuffer buf)
Deprecated.java.util.zip.Deflater
getDeflater()
Deprecated.java.util.zip.Inflater
getInflater()
Deprecated.boolean
isRsv1User()
Deprecated.Indicates use of RSV1 flag for indicating deflation is in use.void
outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
Deprecated.A frame, and optional callback, intended for the network layer.void
setDeflaterPool(org.eclipse.jetty.util.compression.DeflaterPool deflaterPool)
Deprecated.void
setInflaterPool(org.eclipse.jetty.util.compression.InflaterPool inflaterPool)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.eclipse.jetty.websocket.common.extensions.AbstractExtension
getBufferPool, getConfig, getConnection, getName, getNextIncoming, getNextOutgoing, getPolicy, init, init, isRsv2User, isRsv3User, setBufferPool, setConfig, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicy
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.websocket.api.extensions.IncomingFrames
incomingFrame
-
-
-
-
Method Detail
-
setInflaterPool
public void setInflaterPool(org.eclipse.jetty.util.compression.InflaterPool inflaterPool)
Deprecated.
-
setDeflaterPool
public void setDeflaterPool(org.eclipse.jetty.util.compression.DeflaterPool deflaterPool)
Deprecated.
-
getDeflater
public java.util.zip.Deflater getDeflater()
Deprecated.
-
getInflater
public java.util.zip.Inflater getInflater()
Deprecated.
-
isRsv1User
public boolean isRsv1User()
Deprecated.Indicates use of RSV1 flag for indicating deflation is in use.- Specified by:
isRsv1User
in interfaceExtension
- Overrides:
isRsv1User
in classAbstractExtension
- Returns:
- true if extension uses RSV1 for its own purposes.
-
outgoingFrame
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
Deprecated.Description copied from interface:OutgoingFrames
A frame, and optional callback, intended for the network layer.Note: 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.
- Parameters:
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.
-
endsWithTail
public static boolean endsWithTail(java.nio.ByteBuffer buf)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classAbstractExtension
-
-