public abstract class WebSocketFrame
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ChannelBuffer |
binaryData
Contents of this frame
|
private boolean |
finalFragment
Flag to indicate if this frame is the final fragment in a message.
|
private int |
rsv
RSV1, RSV2, RSV3 used for extensions
|
| Constructor and Description |
|---|
WebSocketFrame() |
| Modifier and Type | Method and Description |
|---|---|
ChannelBuffer |
getBinaryData()
Returns binary data
|
int |
getRsv()
Bits used for extensions to the standard.
|
boolean |
isFinalFragment()
Flag to indicate if this frame is the final fragment in a message.
|
void |
setBinaryData(ChannelBuffer binaryData)
Sets the binary data for this frame
|
void |
setFinalFragment(boolean finalFragment) |
void |
setRsv(int rsv) |
private boolean finalFragment
private int rsv
private ChannelBuffer binaryData
public ChannelBuffer getBinaryData()
public void setBinaryData(ChannelBuffer binaryData)
public boolean isFinalFragment()
public void setFinalFragment(boolean finalFragment)
public int getRsv()
public void setRsv(int rsv)