public class ContinuationWebSocketFrame extends WebSocketFrame
| 构造器和说明 |
|---|
ContinuationWebSocketFrame()
Creates a new empty continuation frame.
|
ContinuationWebSocketFrame(boolean finalFragment,
int rsv,
ChannelBuffer binaryData)
Creates a new continuation frame with the specified binary data
|
ContinuationWebSocketFrame(boolean finalFragment,
int rsv,
java.lang.String text)
Creates a new continuation frame with the specified text data
|
ContinuationWebSocketFrame(ChannelBuffer binaryData)
Creates a new continuation frame with the specified binary data.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getText()
Returns the text data in this frame
|
void |
setText(java.lang.String text)
Sets the string for this frame
|
java.lang.String |
toString() |
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsvpublic ContinuationWebSocketFrame()
public ContinuationWebSocketFrame(ChannelBuffer binaryData)
binaryData - the content of the frame.public ContinuationWebSocketFrame(boolean finalFragment,
int rsv,
ChannelBuffer binaryData)
finalFragment - flag indicating if this frame is the final fragmentrsv - reserved bits used for protocol extensionsbinaryData - the content of the frame.public ContinuationWebSocketFrame(boolean finalFragment,
int rsv,
java.lang.String text)
finalFragment - flag indicating if this frame is the final fragmentrsv - reserved bits used for protocol extensionstext - text content of the frame.