public class BinaryWebSocketFrame extends WebSocketFrame
Constructor and Description |
---|
BinaryWebSocketFrame()
Creates a new empty binary frame.
|
BinaryWebSocketFrame(boolean finalFragment,
int rsv,
ChannelBuffer binaryData)
Creates a new binary frame with the specified binary data and the final fragment flag.
|
BinaryWebSocketFrame(ChannelBuffer binaryData)
Creates a new binary frame with the specified binary data.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsv
public BinaryWebSocketFrame()
public BinaryWebSocketFrame(ChannelBuffer binaryData)
binaryData
- the content of the frame.public BinaryWebSocketFrame(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.Copyright © 2008-2015 The Netty Project. All Rights Reserved.