| Access | Constructor and Description |
|---|---|
| public | |
| public | TextWebSocketFrame(String
String to put in the frame. text)Creates a new text frame with the specified text string. |
| public | TextWebSocketFrame(ByteBuf
the content of the frame. binaryData)Creates a new text frame with the specified binary data. |
| public | TextWebSocketFrame(boolean
flag indicating if this frame is the final fragment finalFragment, int reserved bits used for protocol extensions rsv, String String to put in the frame. text)Creates a new text frame with the specified text string. |
| public | TextWebSocketFrame(boolean
flag indicating if this frame is the final fragment finalFragment, int reserved bits used for protocol extensions rsv, ByteBuf the content of the frame. binaryData)Creates a new text frame with the specified binary data and the final fragment flag. |
| TextWebSocketFrame | back to summary |
|---|---|
| public TextWebSocketFrame() Creates a new empty text frame. | |
| TextWebSocketFrame | back to summary |
|---|---|
| public TextWebSocketFrame(String text) Creates a new text frame with the specified text string. The final fragment flag is set to true.
| |
| TextWebSocketFrame | back to summary |
|---|---|
| public TextWebSocketFrame(ByteBuf binaryData) Creates a new text frame with the specified binary data. The final fragment flag is set to true.
| |
| TextWebSocketFrame | back to summary |
|---|---|
| public TextWebSocketFrame(boolean finalFragment, int rsv, String text) Creates a new text frame with the specified text string. The final fragment flag is set to true.
| |
| TextWebSocketFrame | back to summary |
|---|---|
| public TextWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData) Creates a new text frame with the specified binary data and the final fragment flag.
| |
| copy | back to summary |
|---|---|
| public TextWebSocketFrame copy() Overrides io. Implements io. Doc from io. Creates a deep copy of this
This method calls
| |
| duplicate | back to summary |
|---|---|
| public TextWebSocketFrame duplicate() Overrides io. Implements io. Doc from io. Duplicates this
This method calls
| |
| fromText | back to summary |
|---|---|
| private static ByteBuf fromText(String text) | |
| replace | back to summary |
|---|---|
| public TextWebSocketFrame replace(ByteBuf content) Implements abstract io. Implements io. Doc from io. Returns a new
Override this method to return a new instance of this object whose content is set to the specified
| |
| retain | back to summary |
|---|---|
| public TextWebSocketFrame retain() Overrides io. Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public TextWebSocketFrame retain(int increment) Overrides io. Implements io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public TextWebSocketFrame retainedDuplicate() Overrides io. Implements io. Doc from io. Duplicates this
This method calls
| |
| text | back to summary |
|---|---|
| public String text() Returns the text data in this frame. | |
| touch | back to summary |
|---|---|
| public TextWebSocketFrame touch() Overrides io. Implements io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public TextWebSocketFrame touch(Object hint) Overrides io. Implements io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |