public class PingFrame extends Http2Frame
| Modifier and Type | Class and Description |
|---|---|
static class |
PingFrame.PingFrameBuilder |
Http2Frame.Http2FrameBuilder<T extends Http2Frame.Http2FrameBuilder>| Modifier and Type | Field and Description |
|---|---|
static byte |
ACK_FLAG |
static int |
TYPE |
DONT_RECYCLE| Modifier and Type | Method and Description |
|---|---|
static PingFrame.PingFrameBuilder |
builder() |
protected int |
calcLength()
Recalculates the length
|
static Http2Frame |
fromBuffer(int flags,
Buffer frameBuffer) |
protected Map<Integer,String> |
getFlagNamesMap() |
long |
getOpaqueData() |
int |
getType() |
boolean |
isAckSet() |
void |
recycle() |
Buffer |
toBuffer(Http2Connection http2Connection) |
String |
toString() |
clearFlag, getFlags, getFrameBuffer, getLength, getStreamId, headerToString, isFlagSet, onPayloadUpdated, setFlag, setFlags, setFrameBuffer, setStreamIdpublic static final int TYPE
public static final byte ACK_FLAG
public static Http2Frame fromBuffer(int flags, Buffer frameBuffer)
public static PingFrame.PingFrameBuilder builder()
public long getOpaqueData()
public boolean isAckSet()
public String toString()
toString in class Http2Frameprotected int calcLength()
Http2FramecalcLength in class Http2Frameprotected Map<Integer,String> getFlagNamesMap()
getFlagNamesMap in class Http2FrameMap with flag bit - to - flag name mappingpublic void recycle()
recycle in interface Cacheablerecycle in class Http2Framepublic int getType()
getType in class Http2Framepublic Buffer toBuffer(Http2Connection http2Connection)
toBuffer in class Http2FrameCopyright © 2021 Oracle Corporation. All rights reserved.