public class BinaryWebSocketFrame extends WebSocketFrame
Constructor and Description |
---|
BinaryWebSocketFrame()
Creates a new empty binary frame.
|
BinaryWebSocketFrame(boolean finalFragment,
int rsv,
io.netty.buffer.ByteBuf binaryData)
Creates a new binary frame with the specified binary data and the final fragment flag.
|
BinaryWebSocketFrame(io.netty.buffer.ByteBuf 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(io.netty.buffer.ByteBuf binaryData)
binaryData
- the content of the frame.public BinaryWebSocketFrame(boolean finalFragment, int rsv, io.netty.buffer.ByteBuf binaryData)
finalFragment
- flag indicating if this frame is the final fragmentrsv
- reserved bits used for protocol extensionsbinaryData
- the content of the frame.Copyright © 2008-2012 The Netty Project. All Rights Reserved.