Class PongWebSocketFrame
- java.lang.Object
-
- io.netty.buffer.DefaultByteBufHolder
-
- io.netty.handler.codec.http.websocketx.WebSocketFrame
-
- io.netty.handler.codec.http.websocketx.PongWebSocketFrame
-
- All Implemented Interfaces:
io.netty.buffer.ByteBufHolder,io.netty.util.ReferenceCounted
public class PongWebSocketFrame extends WebSocketFrame
Web Socket frame containing binary data.
-
-
Constructor Summary
Constructors Constructor 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 dataPongWebSocketFrame(io.netty.buffer.ByteBuf binaryData)Creates a new pong frame with the specified binary data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PongWebSocketFramecopy()PongWebSocketFrameduplicate()PongWebSocketFramereplace(io.netty.buffer.ByteBuf content)PongWebSocketFrameretain()PongWebSocketFrameretain(int increment)PongWebSocketFrameretainedDuplicate()PongWebSocketFrametouch()PongWebSocketFrametouch(Object hint)-
Methods inherited from class io.netty.handler.codec.http.websocketx.WebSocketFrame
isFinalFragment, rsv, toString
-
-
-
-
Constructor Detail
-
PongWebSocketFrame
public PongWebSocketFrame()
Creates a new empty pong frame.
-
PongWebSocketFrame
public PongWebSocketFrame(io.netty.buffer.ByteBuf binaryData)
Creates a new pong frame with the specified binary data.- Parameters:
binaryData- the content of the frame.
-
PongWebSocketFrame
public PongWebSocketFrame(boolean finalFragment, int rsv, io.netty.buffer.ByteBuf binaryData)Creates a new pong frame with the specified binary data- Parameters:
finalFragment- flag indicating if this frame is the final fragmentrsv- reserved bits used for protocol extensionsbinaryData- the content of the frame.
-
-
Method Detail
-
copy
public PongWebSocketFrame copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Overrides:
copyin classWebSocketFrame
-
duplicate
public PongWebSocketFrame duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Overrides:
duplicatein classWebSocketFrame
-
retainedDuplicate
public PongWebSocketFrame retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Overrides:
retainedDuplicatein classWebSocketFrame
-
replace
public PongWebSocketFrame replace(io.netty.buffer.ByteBuf content)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Specified by:
replacein classWebSocketFrame
-
retain
public PongWebSocketFrame retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Overrides:
retainin classWebSocketFrame
-
retain
public PongWebSocketFrame retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Overrides:
retainin classWebSocketFrame
-
touch
public PongWebSocketFrame touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Overrides:
touchin classWebSocketFrame
-
touch
public PongWebSocketFrame touch(Object hint)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Overrides:
touchin classWebSocketFrame
-
-