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 | 
|---|---|
int | 
getPayloadLength()
Return the number of bytes contained in the message. 
 | 
protected String | 
toStringPayload()  | 
equals, getPayload, hashCode, isLast, toStringpublic PongMessage()
public PongMessage(ByteBuffer payload)
payload - the non-null payloadpublic int getPayloadLength()
WebSocketMessageprotected String toStringPayload()
toStringPayload in class AbstractWebSocketMessage<ByteBuffer>