Class PongMessage

All Implemented Interfaces:
WebSocketMessage<ByteBuffer>

public final class PongMessage extends AbstractWebSocketMessage<ByteBuffer>
A WebSocket pong message.
Since:
4.0
Author:
Rossen Stoyanchev
  • Constructor Details

    • PongMessage

      public PongMessage()
      Create a new pong message with an empty payload.
    • PongMessage

      public PongMessage(ByteBuffer payload)
      Create a new pong message with the given ByteBuffer payload.
      Parameters:
      payload - the non-null payload
  • Method Details