public class ContinuationWebSocketFrame extends WebSocketFrame
Constructor and Description |
---|
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,
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Returns the text data in this frame
|
void |
setText(String text)
Sets the string for this frame
|
String |
toString() |
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsv
public 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, String text)
finalFragment
- flag indicating if this frame is the final fragmentrsv
- reserved bits used for protocol extensionstext
- text content of the frame.Copyright © 2008-2016 The Netty Project. All Rights Reserved.