Class PingWebSocketFrame

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
io.netty.handler.codec.http.websocketx.WebSocketFrame
io.netty.handler.codec.http.websocketx.PingWebSocketFrame
All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

public class PingWebSocketFrame extends WebSocketFrame
Web Socket frame containing binary data.
  • Constructor Details

    • PingWebSocketFrame

      public PingWebSocketFrame()
      Creates a new empty ping frame.
    • PingWebSocketFrame

      public PingWebSocketFrame(io.netty.buffer.ByteBuf binaryData)
      Creates a new ping frame with the specified binary data.
      Parameters:
      binaryData - the content of the frame.
    • PingWebSocketFrame

      public PingWebSocketFrame(boolean finalFragment, int rsv, io.netty.buffer.ByteBuf binaryData)
      Creates a new ping 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.
  • Method Details