| Modifier and Type | Field and Description |
|---|---|
| private ByteBufferPool | |
| private ExtensionConfig | |
| private CoreSession | |
| private DeflaterPool | |
| private InflaterPool | |
| private final Logger | |
| private IncomingFrames | |
| private OutgoingFrames |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBufferPool | |
| public ExtensionConfig | getConfig()
Implements org. The active configuration for this extension. |
| protected Configuration | |
| public CoreSession | |
| public DeflaterPool | |
| public InflaterPool | |
| public String | getName()
Implements org. The |
| public IncomingFrames | |
| public OutgoingFrames | |
| public void | init(ExtensionConfig config, WebSocketComponents components)
Implements org.
|
| public boolean | Returns: true if extension uses RSV1 for its own purposes.Implements org. Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing. |
| public boolean | Returns: true if extension uses RSV2 for its own purposes.Implements org. Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing. |
| public boolean | Returns: true if extension uses RSV3 for its own purposes.Implements org. Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing. |
| protected void | |
| protected void | |
| public void | onFrame(Frame
the frame to process. frame, Callback the read completion. callback)Implements org. Process the incoming frame. |
| public void | sendFrame(Frame
the frame to eventually write to the network layer. frame, Callback the callback to notify when the frame is written. callback, boolean the batch mode requested by the sender. batch)Implements org. A frame, and optional callback, intended for the network layer. |
| public void | setCoreSession(CoreSession
the coreSession)CoreSession for this Extension.Implements org. Set the |
| public void | setNextIncomingFrames(IncomingFrames
the next incoming extension nextIncoming)Implements org. Set the next |
| public void | setNextOutgoingFrames(OutgoingFrames
the next outgoing extension nextOutgoing)Implements org. Set the next |
| public String |
| bufferPool | back to summary |
|---|---|
| private ByteBufferPool bufferPool | |
| config | back to summary |
|---|---|
| private ExtensionConfig config | |
| coreSession | back to summary |
|---|---|
| private CoreSession coreSession | |
| deflaterPool | back to summary |
|---|---|
| private DeflaterPool deflaterPool | |
| inflaterPool | back to summary |
|---|---|
| private InflaterPool inflaterPool | |
| log | back to summary |
|---|---|
| private final Logger log | |
| nextIncoming | back to summary |
|---|---|
| private IncomingFrames nextIncoming | |
| nextOutgoing | back to summary |
|---|---|
| private OutgoingFrames nextOutgoing | |
| AbstractExtension | back to summary |
|---|---|
| public AbstractExtension() | |
| getByteBufferPool | back to summary |
|---|---|
| public ByteBufferPool getByteBufferPool() | |
| getConfig | back to summary |
|---|---|
| public ExtensionConfig getConfig() Implements org. Doc from org. The active configuration for this extension.
| |
| getConfiguration | back to summary |
|---|---|
| protected Configuration getConfiguration() | |
| getCoreSession | back to summary |
|---|---|
| public CoreSession getCoreSession() | |
| getDeflaterPool | back to summary |
|---|---|
| public DeflaterPool getDeflaterPool() | |
| getInflaterPool | back to summary |
|---|---|
| public InflaterPool getInflaterPool() | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. The
Also known as the | |
| getNextIncoming | back to summary |
|---|---|
public IncomingFrames getNextIncoming()
| |
| getNextOutgoing | back to summary |
|---|---|
public OutgoingFrames getNextOutgoing()
| |
| init | back to summary |
|---|---|
| public void init(ExtensionConfig config, WebSocketComponents components) Implements org.
| |
| isRsv1User | back to summary |
|---|---|
| public boolean isRsv1User() Implements org. 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.
| |
| isRsv2User | back to summary |
|---|---|
| public boolean isRsv2User() Implements org. 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.
| |
| isRsv3User | back to summary |
|---|---|
| public boolean isRsv3User() Implements org. 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.
| |
| nextIncomingFrame | back to summary |
|---|---|
| protected void nextIncomingFrame(Frame frame, Callback callback) | |
| nextOutgoingFrame | back to summary |
|---|---|
| protected void nextOutgoingFrame(Frame frame, Callback callback, boolean batch) | |
| onFrame | back to summary |
|---|---|
| public void onFrame(Frame frame, Callback callback) Implements org. Doc from org. Process the incoming frame. Note 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. Failure of the callback will propagate the failure back to the | |
| sendFrame | back to summary |
|---|---|
| public void sendFrame(Frame frame, Callback callback, boolean batch) Implements org. Doc from org. 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 Callback appropriately. | |
| setCoreSession | back to summary |
|---|---|
| public void setCoreSession(CoreSession coreSession) Implements org. Doc from org. Set the
| |
| setNextIncomingFrames | back to summary |
|---|---|
| public void setNextIncomingFrames(IncomingFrames nextIncoming) Implements org. Doc from org. Set the next
| |
| setNextOutgoingFrames | back to summary |
|---|---|
| public void setNextOutgoingFrames(OutgoingFrames nextOutgoing) Implements org. Doc from org. Set the next
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |