| Access | Constructor and Description |
|---|---|
| public | ContinuationWebSocketFrame(Buffer
the content of the frame. binaryData)Creates a new continuation frame with the specified binary data. |
| public | ContinuationWebSocketFrame(boolean
flag indicating if this frame is the final fragment finalFragment, int reserved bits used for protocol extensions rsv, Buffer the content of the frame. binaryData)Creates a new continuation frame with the specified binary data. |
| public | ContinuationWebSocketFrame(BufferAllocator
BufferAllocator to use for allocating data.flag indicating if this frame is the final fragment finalFragment, int reserved bits used for protocol extensions rsv, String text content of the frame. text)Creates a new continuation frame with the specified text data |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Buffer | |
| protected WebSocketFrame | receive(Buffer
The buf)Buffer that is received by the recipient,
and needs to be wrapped in a new BufferHolder instance.Implements abstract io. BufferHolder is received by the recipient.
|
| public String |
| ContinuationWebSocketFrame | back to summary |
|---|---|
| public ContinuationWebSocketFrame(Buffer binaryData) Creates a new continuation frame with the specified binary data. The final fragment flag is set to true.
| |
| ContinuationWebSocketFrame | back to summary |
|---|---|
| public ContinuationWebSocketFrame(boolean finalFragment, int rsv, Buffer binaryData) Creates a new continuation frame with the specified binary data.
| |
| ContinuationWebSocketFrame | back to summary |
|---|---|
| public ContinuationWebSocketFrame(BufferAllocator allocator, boolean finalFragment, int rsv, String text) Creates a new continuation frame with the specified text data
| |
| ContinuationWebSocketFrame | back to summary |
|---|---|
| private ContinuationWebSocketFrame(ContinuationWebSocketFrame copyFrom, Buffer data) | |
| fromText | back to summary |
|---|---|
| private static Buffer fromText(BufferAllocator allocator, String text) Sets the string for this frame.
| |
| receive | back to summary |
|---|---|
| protected WebSocketFrame receive(Buffer buf) Implements abstract io. Doc from io. Called when a sent
| |
| text | back to summary |
|---|---|
| public String text() Returns the text data in this frame. | |