public class PingWebSocketFrame extends WebSocketFrame
| Constructor and Description |
|---|
PingWebSocketFrame()
Creates a new empty ping frame.
|
PingWebSocketFrame(boolean finalFragment,
int rsv,
io.netty.buffer.ByteBuf binaryData)
Creates a new ping frame with the specified binary data
|
PingWebSocketFrame(io.netty.buffer.ByteBuf binaryData)
Creates a new ping frame with the specified binary data.
|
| Modifier and Type | Method and Description |
|---|---|
PingWebSocketFrame |
copy() |
isFinalFragment, rsv, toStringpublic PingWebSocketFrame()
public PingWebSocketFrame(io.netty.buffer.ByteBuf binaryData)
binaryData - the content of the frame.public PingWebSocketFrame(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 PingWebSocketFrame copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in class WebSocketFrameCopyright © 2008-2013 The Netty Project. All Rights Reserved.