public final class PongMessage extends AbstractWebSocketMessage<ByteBuffer>
Constructor and Description |
---|
PongMessage()
Create a new pong message with an empty payload.
|
PongMessage(ByteBuffer payload)
Create a new pong message with the given ByteBuffer payload.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getPayloadSize() |
protected String |
toStringPayload() |
equals, getPayload, hashCode, isLast, toString
public PongMessage()
public PongMessage(ByteBuffer payload)
payload
- the non-null payloadprotected int getPayloadSize()
getPayloadSize
in class AbstractWebSocketMessage<ByteBuffer>
protected String toStringPayload()
toStringPayload
in class AbstractWebSocketMessage<ByteBuffer>