That Frames are passed through the Extension via the IncomingFrames and OutgoingFrames interfaces
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public ExtensionConfig | Returns: the configuration for this extension. never null.The active configuration for this extension. |
| public String | |
| public void | |
| public boolean | Returns: true if extension uses RSV1 for its own purposes.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.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.Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing. |
| public void | setCoreSession(CoreSession
the coreSession)CoreSession for this Extension.Set the |
| public void | setNextIncomingFrames(IncomingFrames
the next incoming extension nextIncoming)Set the next |
| public void | setNextOutgoingFrames(OutgoingFrames
the next outgoing extension nextOutgoing)Set the next |
| close | back to summary |
|---|---|
| public default void close() Implements java. Used to clean up any resources after connection close. | |
| getConfig | back to summary |
|---|---|
| public ExtensionConfig getConfig() The active configuration for this extension.
| |
| getName | back to summary |
|---|---|
| public String getName() The
Also known as the
| |
| init | back to summary |
|---|---|
| public void init(ExtensionConfig config, WebSocketComponents components) | |
| isRsv1User | back to summary |
|---|---|
| public boolean isRsv1User() 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() 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() 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.
| |
| setCoreSession | back to summary |
|---|---|
| public void setCoreSession(CoreSession coreSession) Set the
| |
| setNextIncomingFrames | back to summary |
|---|---|
| public void setNextIncomingFrames(IncomingFrames nextIncoming) Set the next
| |
| setNextOutgoingFrames | back to summary |
|---|---|
| public void setNextOutgoingFrames(OutgoingFrames nextOutgoing) Set the next
| |