| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final QuotedStringTokenizer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getName()
Overrides org. Implements org. The |
| public String | |
| public void | init(ExtensionConfig config, WebSocketComponents components)
Overrides org. Implements org.
|
| public void | onFrame(Frame
the frame to process. frame, Callback the read completion. callback)Overrides org. 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)Overrides org. Implements org. A frame, and optional callback, intended for the network layer. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| id | back to summary |
|---|---|
| private String id | |
| PARAM_VALUE_QUOTING | back to summary |
|---|---|
| private static final QuotedStringTokenizer PARAM_VALUE_QUOTING | |
| IdentityExtension | back to summary |
|---|---|
| public IdentityExtension() | |
| getName | back to summary |
|---|---|
| public String getName() Overrides org. Implements org. Doc from org. The
Also known as the | |
| getParam | back to summary |
|---|---|
| public String getParam(String key) | |
| init | back to summary |
|---|---|
| public void init(ExtensionConfig config, WebSocketComponents components) Overrides org. Implements org.
| |
| onFrame | back to summary |
|---|---|
| public void onFrame(Frame frame, Callback callback) Overrides org. 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) Overrides org. 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. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |