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() |
PingWebSocketFrame |
duplicate() |
PingWebSocketFrame |
retain() |
PingWebSocketFrame |
retain(int increment) |
PingWebSocketFrame |
touch() |
PingWebSocketFrame |
touch(Object hint) |
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 WebSocketFramepublic PingWebSocketFrame duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in class WebSocketFramepublic PingWebSocketFrame retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class WebSocketFramepublic PingWebSocketFrame retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class WebSocketFramepublic PingWebSocketFrame touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class WebSocketFramepublic PingWebSocketFrame touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class WebSocketFrameCopyright © 2008–2015 The Netty Project. All rights reserved.