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