The parser for the frame header of HTTP/3 frames.
MessageParser
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private HeaderParser. | |
| private long | |
| private final VarLenInt |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public boolean | Returns: true if all the frame header bytes were parsed, false if not enough frame header bytes were present in the bufferthe buffer to parse buffer)Parses the frame header bytes in the given |
| public void |
| length | back to summary |
|---|---|
| private long length | |
| state | back to summary |
|---|---|
| private HeaderParser. | |
| type | back to summary |
|---|---|
| private long type | |
| varLenInt | back to summary |
|---|---|
| private final VarLenInt varLenInt | |
| HeaderParser | back to summary |
|---|---|
| public HeaderParser() | |
| getFrameLength | back to summary |
|---|---|
| public long getFrameLength() | |
| getFrameType | back to summary |
|---|---|
| public long getFrameType() | |
| parse | back to summary |
|---|---|
| public boolean parse(ByteBuffer buffer) Parses the frame header bytes in the given
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| Modifier and Type | Field and Description |
|---|---|
| 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. |
| LENGTH | 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. | |