Class PingFrame
java.lang.Object
org.eclipse.jetty.http2.frames.Frame
org.eclipse.jetty.http2.frames.PingFrame
- 
Field Summary
FieldsFields inherited from class Frame
DEFAULT_MAX_SIZE, EMPTY_ARRAY, HEADER_LENGTH, MAX_MAX_SIZE - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
PING_LENGTH
public static final int PING_LENGTH- See Also:
 
 
 - 
 - 
Constructor Details
- 
PingFrame
public PingFrame(boolean reply) Creates a PING frame with an empty payload.- Parameters:
 reply- whether this PING frame is a reply
 - 
PingFrame
public PingFrame(long value, boolean reply) Creates a PING frame with the givenlongvalueas payload.- Parameters:
 value- the value to use as a payload for this PING framereply- whether this PING frame is a reply
 - 
PingFrame
public PingFrame(byte[] payload, boolean reply) Creates a PING frame with the givenpayload.- Parameters:
 payload- the payload for this PING framereply- whether this PING frame is a reply
 
 - 
 - 
Method Details
- 
getPayload
public byte[] getPayload() - 
getPayloadAsLong
public long getPayloadAsLong() - 
isReply
public boolean isReply() 
 -