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 |
|---|---|
BinaryWebSocketFrame |
copy() |
BinaryWebSocketFrame |
duplicate() |
BinaryWebSocketFrame |
retain() |
BinaryWebSocketFrame |
retain(int increment) |
isFinalFragment, rsv, toStringpublic 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.public BinaryWebSocketFrame copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in class WebSocketFramepublic BinaryWebSocketFrame duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in class WebSocketFramepublic BinaryWebSocketFrame retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class WebSocketFramepublic BinaryWebSocketFrame retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class WebSocketFrameCopyright © 2008–2016 The Netty Project. All rights reserved.