Class PongWebSocketFrame

  • All Implemented Interfaces:
    io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

    public class PongWebSocketFrame
    extends WebSocketFrame
    Web Socket frame containing binary data.
    • 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 fragment
        rsv - reserved bits used for protocol extensions
        binaryData - the content of the frame.