| Modifier and Type | Field and Description |
|---|---|
| private byte | |
| private byte | |
| private boolean | |
| private FrameSequence | |
| private NullAppendable | |
| private static final Logger | |
| private boolean | |
| private FrameSequence | |
| private NullAppendable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getName()
Overrides org. Implements org. The |
| 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 byte | |
| 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. |
| private void |
| continuedInOpCode | back to summary |
|---|---|
| private byte continuedInOpCode | |
| continuedOutOpCode | back to summary |
|---|---|
| private byte continuedOutOpCode | |
| incomingFrameValidation | back to summary |
|---|---|
| private boolean incomingFrameValidation | |
| incomingSequence | back to summary |
|---|---|
| private FrameSequence incomingSequence | |
| incomingUtf8Validation | back to summary |
|---|---|
| private NullAppendable incomingUtf8Validation | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| outgoingFrameValidation | back to summary |
|---|---|
| private boolean outgoingFrameValidation | |
| outgoingSequence | back to summary |
|---|---|
| private FrameSequence outgoingSequence | |
| outgoingUtf8Validation | back to summary |
|---|---|
| private NullAppendable outgoingUtf8Validation | |
| ValidationExtension | back to summary |
|---|---|
| public ValidationExtension() | |
| getName | back to summary |
|---|---|
| public String getName() Overrides org. Implements org. Doc from org. The
Also known as the | |
| 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 | |
| recordLastOpCode | back to summary |
|---|---|
| public byte recordLastOpCode(Frame frame, byte prevOpcode) throws ProtocolException | |
| 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. | |
| validateUTF8 | back to summary |
|---|---|
| private void validateUTF8(Frame frame, NullAppendable appendable, byte continuedOpCode) throws IOException | |