public class TextFrame extends FrameRfc6455
| 构造器和说明 |
|---|
TextFrame(FrameHeaderRfc6455 header,
byte[] bodyData)
Instantiates a new text frame.
|
TextFrame(String str)
Instantiates a new text frame.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
toString() |
isContinuationFrame, mask, toByteBuffer, unmaskgetContents, getContentsLength, getHeader, readContents, readContents, setContents, setHeaderpublic TextFrame(FrameHeaderRfc6455 header, byte[] bodyData)
header - the headerbodyData - the contents datapublic TextFrame(String str)
str - the strCopyright © 2020. All rights reserved.