| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | |
| public int | |
| public void | setBinaryData(ByteBuf
the content of the frame. If (type & 0x80 == 0),
it must be encoded in UTF-8. binaryData)Sets the type and the content of this frame. |
| public void | setTextData(String
the content of the frame. Must be valid UTF-8 textData)Set the type of the content of this frame and populate it with the given content |
| getBinaryData | back to summary |
|---|---|
| public ByteBuf getBinaryData() Returns the content of this frame as-is, with no UTF-8 decoding. | |
| length | back to summary |
|---|---|
public int length()
| |
| setBinaryData | back to summary |
|---|---|
| public void setBinaryData(ByteBuf binaryData) Sets the type and the content of this frame.
| |
| setTextData | back to summary |
|---|---|
| public void setTextData(String textData) Set the type of the content of this frame and populate it with the given content
| |