Class HeadersFrame
- java.lang.Object
-
- jdk.incubator.http.internal.frame.Http2Frame
-
- jdk.incubator.http.internal.frame.HeaderFrame
-
- jdk.incubator.http.internal.frame.HeadersFrame
-
public class HeadersFrame extends HeaderFrame
-
-
Field Summary
Fields Modifier and Type Field Description static int
END_STREAM
static int
PADDED
static int
PRIORITY
static int
TYPE
-
Fields inherited from class jdk.incubator.http.internal.frame.HeaderFrame
END_HEADERS
-
Fields inherited from class jdk.incubator.http.internal.frame.Http2Frame
flags, FRAME_HEADER_SIZE, streamid
-
-
Constructor Summary
Constructors Constructor Description HeadersFrame(int streamid, int flags, ByteBufferReference headerBlock)
HeadersFrame(int streamid, int flags, ByteBufferReference[] headerBlocks)
HeadersFrame(int streamid, int flags, ByteBufferReference[] headerBlocks, int padLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
flagAsString(int flag)
boolean
getExclusive()
int
getStreamDependency()
int
getWeight()
void
setPadLength(int padLength)
void
setPriority(int streamDependency, boolean exclusive, int weight)
int
type()
-
Methods inherited from class jdk.incubator.http.internal.frame.HeaderFrame
endHeaders, getHeaderBlock
-
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
END_STREAM
public static final int END_STREAM
- See Also:
- Constant Field Values
-
PADDED
public static final int PADDED
- See Also:
- Constant Field Values
-
PRIORITY
public static final int PRIORITY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeadersFrame
public HeadersFrame(int streamid, int flags, ByteBufferReference[] headerBlocks, int padLength)
-
HeadersFrame
public HeadersFrame(int streamid, int flags, ByteBufferReference[] headerBlocks)
-
HeadersFrame
public HeadersFrame(int streamid, int flags, ByteBufferReference headerBlock)
-
-
Method Detail
-
type
public int type()
- Overrides:
type
in classHttp2Frame
-
flagAsString
public java.lang.String flagAsString(int flag)
- Overrides:
flagAsString
in classHeaderFrame
-
setPadLength
public void setPadLength(int padLength)
-
setPriority
public void setPriority(int streamDependency, boolean exclusive, int weight)
-
getStreamDependency
public int getStreamDependency()
-
getWeight
public int getWeight()
-
getExclusive
public boolean getExclusive()
-
-