The parser for the frame header of HTTP/2 frames.
Parser
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private final RateControl | |
| private HeaderParser. | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the raw value of the headers flag bitsReturns the raw value of the header flag bits. |
| public int | |
| public int | |
| public RateControl | |
| public int | |
| public boolean | |
| public boolean | Returns: true if the whole header bytes were parsed, false if not enough header bytes were present in the bufferthe buffer to parse buffer)Parses the header bytes in the given |
| protected void | |
| public String |
| cursor | back to summary |
|---|---|
| private int cursor | |
| flags | back to summary |
|---|---|
| private int flags | |
| length | back to summary |
|---|---|
| private int length | |
| rateControl | back to summary |
|---|---|
| private final RateControl rateControl | |
| state | back to summary |
|---|---|
| private HeaderParser. | |
| streamId | back to summary |
|---|---|
| private int streamId | |
| type | back to summary |
|---|---|
| private int type | |
| HeaderParser | back to summary |
|---|---|
| public HeaderParser(RateControl rateControl) | |
| getFlags | back to summary |
|---|---|
| public int getFlags() Returns the raw value of the header flag bits. Use
| |
| getFrameType | back to summary |
|---|---|
| public int getFrameType() | |
| getLength | back to summary |
|---|---|
| public int getLength() | |
| getRateControl | back to summary |
|---|---|
| public RateControl getRateControl() | |
| getStreamId | back to summary |
|---|---|
| public int getStreamId() | |
| hasFlag | back to summary |
|---|---|
| public boolean hasFlag(int bit) Returns whether the given header
| |
| parse | back to summary |
|---|---|
| public boolean parse(ByteBuffer buffer) Parses the header bytes in the given
| |
| reset | back to summary |
|---|---|
| protected void reset() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HeaderParser. | |
| public static final HeaderParser. | |
| public static final HeaderParser. | |
| public static final HeaderParser. | |
| public static final HeaderParser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HeaderParser. | |
| public static HeaderParser. |
| FLAGS | back to summary |
|---|---|
| public static final HeaderParser. | |
| LENGTH | back to summary |
|---|---|
| public static final HeaderParser. | |
| STREAM_ID | back to summary |
|---|---|
| public static final HeaderParser. | |
| STREAM_ID_BYTES | back to summary |
|---|---|
| public static final HeaderParser. | |
| TYPE | back to summary |
|---|---|
| public static final HeaderParser. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static HeaderParser. | |
| values | back to summary |
|---|---|
| public static HeaderParser. | |