public class PriorityFrame extends Http2Frame
| Modifier and Type | Class and Description |
|---|---|
static class |
PriorityFrame.PriorityFrameBuilder |
Http2Frame.Http2FrameBuilder<T extends Http2Frame.Http2FrameBuilder>| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
DONT_RECYCLE| Modifier and Type | Method and Description |
|---|---|
static PriorityFrame.PriorityFrameBuilder |
builder() |
protected int |
calcLength()
Recalculates the length
|
static Http2Frame |
fromBuffer(int streamId,
Buffer frameBuffer) |
protected Map<Integer,String> |
getFlagNamesMap() |
int |
getStreamDependency() |
int |
getType() |
int |
getWeight() |
boolean |
isExclusive() |
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 Http2Frame fromBuffer(int streamId, Buffer frameBuffer)
public static PriorityFrame.PriorityFrameBuilder builder()
public int getStreamDependency()
public int getWeight()
public boolean isExclusive()
public String toString()
toString in class Http2Framepublic int getType()
getType in class Http2Framepublic Buffer toBuffer(Http2Connection http2Connection)
toBuffer 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 Http2FrameCopyright © 2024 Oracle Corporation. All rights reserved.