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