Class AbstractExtension
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.websocket.common.extensions.AbstractExtension
-
- All Implemented Interfaces:
LifeCycle
,Extension
,IncomingFrames
,OutgoingFrames
- Direct Known Subclasses:
CompressExtension
,FragmentExtension
,FrameCaptureExtension
,IdentityExtension
@ManagedObject("Abstract Extension") @Deprecated(since="2021-05-27") public abstract class AbstractExtension extends AbstractLifeCycle implements Extension
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
-
-
Constructor Summary
Constructors Constructor Description AbstractExtension()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ByteBufferPool
getBufferPool()
Deprecated.ExtensionConfig
getConfig()
Deprecated.The active configuration for this extension.LogicalConnection
getConnection()
Deprecated.java.lang.String
getName()
Deprecated.TheSec-WebSocket-Extensions
name for this extension.IncomingFrames
getNextIncoming()
Deprecated.OutgoingFrames
getNextOutgoing()
Deprecated.WebSocketPolicy
getPolicy()
Deprecated.void
init(WebSocketPolicy policy, ByteBufferPool bufferPool)
Deprecated.void
init(WebSocketContainerScope container)
Deprecated.boolean
isRsv1User()
Deprecated.Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing.boolean
isRsv2User()
Deprecated.Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing.boolean
isRsv3User()
Deprecated.Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing.void
setBufferPool(ByteBufferPool bufferPool)
Deprecated.void
setConfig(ExtensionConfig config)
Deprecated.void
setConnection(LogicalConnection connection)
Deprecated.void
setNextIncomingFrames(IncomingFrames nextIncoming)
Deprecated.Set the nextIncomingFrames
to call in the chain.void
setNextOutgoingFrames(OutgoingFrames nextOutgoing)
Deprecated.Set the nextOutgoingFrames
to call in the chain.void
setPolicy(WebSocketPolicy policy)
Deprecated.java.lang.String
toString()
Deprecated.-
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
-
Methods inherited from interface org.eclipse.jetty.websocket.api.extensions.OutgoingFrames
outgoingFrame
-
-
-
-
Method Detail
-
init
@Deprecated public void init(WebSocketContainerScope container)
Deprecated.
-
init
public void init(WebSocketPolicy policy, ByteBufferPool bufferPool)
Deprecated.
-
getBufferPool
public ByteBufferPool getBufferPool()
Deprecated.
-
getConfig
public ExtensionConfig getConfig()
Deprecated.Description copied from interface:Extension
The active configuration for this extension.
-
getConnection
public LogicalConnection getConnection()
Deprecated.
-
getName
public java.lang.String getName()
Deprecated.Description copied from interface:Extension
TheSec-WebSocket-Extensions
name for this extension.Also known as the
extension-token
per Section 9.1. Negotiating Extensions.
-
getNextIncoming
@ManagedAttribute(name="Next Incoming Frame Handler", readonly=true) public IncomingFrames getNextIncoming()
Deprecated.
-
getNextOutgoing
@ManagedAttribute(name="Next Outgoing Frame Handler", readonly=true) public OutgoingFrames getNextOutgoing()
Deprecated.
-
getPolicy
public WebSocketPolicy getPolicy()
Deprecated.
-
isRsv1User
public boolean isRsv1User()
Deprecated.Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing.This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV1.
- Specified by:
isRsv1User
in interfaceExtension
- Returns:
- true if extension uses RSV1 for its own purposes.
-
isRsv2User
public boolean isRsv2User()
Deprecated.Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing.This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV2.
- Specified by:
isRsv2User
in interfaceExtension
- Returns:
- true if extension uses RSV2 for its own purposes.
-
isRsv3User
public boolean isRsv3User()
Deprecated.Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing.This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV3.
- Specified by:
isRsv3User
in interfaceExtension
- Returns:
- true if extension uses RSV3 for its own purposes.
-
setBufferPool
public void setBufferPool(ByteBufferPool bufferPool)
Deprecated.
-
setConfig
public void setConfig(ExtensionConfig config)
Deprecated.
-
setConnection
public void setConnection(LogicalConnection connection)
Deprecated.
-
setNextIncomingFrames
public void setNextIncomingFrames(IncomingFrames nextIncoming)
Deprecated.Description copied from interface:Extension
Set the nextIncomingFrames
to call in the chain.- Specified by:
setNextIncomingFrames
in interfaceExtension
- Parameters:
nextIncoming
- the next incoming extension
-
setNextOutgoingFrames
public void setNextOutgoingFrames(OutgoingFrames nextOutgoing)
Deprecated.Description copied from interface:Extension
Set the nextOutgoingFrames
to call in the chain.- Specified by:
setNextOutgoingFrames
in interfaceExtension
- Parameters:
nextOutgoing
- the next outgoing extension
-
setPolicy
public void setPolicy(WebSocketPolicy policy)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classAbstractLifeCycle
-
-