| Modifier and Type | Field and Description |
|---|---|
| private final ExtensionFunction[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ExtensionFunction | |
| public static ExtensionFunction | |
| public void | dispose()
Implements io. Dispose this function. |
| public boolean | hasExtensionOpCode()
Implements io. Validate if current extension defines a new WebSocket Opcode. |
| public PooledByteBuffer | transformForRead(PooledByteBuffer
Buffer to transform pooledBuffer, StreamSourceFrameChannel working channel channel, boolean If this frame is the last fragment of a message. Note that this may not be received for every message, if the message ends with an empty frame lastFragementOfMessage)Implements io. Transform the supplied buffer per this extension. |
| public PooledByteBuffer | transformForWrite(PooledByteBuffer
Buffer to transform pooledBuffer, StreamSinkFrameChannel working channel channel, boolean lastFrame)Implements io. Transform the supplied buffer per this extension. |
| public int | writeRsv(int
current RSV bits status rsv)Implements io. Add RSV bits (RSV1, RSV2, RSV3) to the current rsv status. |
| delegates | back to summary |
|---|---|
| private final ExtensionFunction[] delegates | |
| CompositeExtensionFunction | back to summary |
|---|---|
| private CompositeExtensionFunction(ExtensionFunction... delegates) | |
| compose | back to summary |
|---|---|
| public static ExtensionFunction compose(List<ExtensionFunction> functions) | |
| compose | back to summary |
|---|---|
| public static ExtensionFunction compose(ExtensionFunction... functions) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose this function. Called upon connection closure
| |
| hasExtensionOpCode | back to summary |
|---|---|
| public boolean hasExtensionOpCode() Implements io. Doc from io. Validate if current extension defines a new WebSocket Opcode.
| |
| transformForRead | back to summary |
|---|---|
| public PooledByteBuffer transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragementOfMessage) throws IOException Implements io. Doc from io. Transform the supplied buffer per this extension. The buffer can be modified in place, or a new pooled buffer can be returned (in which case be sure to free the original buffer
| |
| transformForWrite | back to summary |
|---|---|
| public PooledByteBuffer transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) throws IOException Implements io. Doc from io. Transform the supplied buffer per this extension. The buffer can be modified in place, or a new pooled buffer can be returned (in which case be sure to free the original buffer
| |
| writeRsv | back to summary |
|---|---|
| public int writeRsv(int rsv) Implements io. Doc from io. Add RSV bits (RSV1, RSV2, RSV3) to the current rsv status.
| |