The base parser for the frame body of HTTP/3 frames.
Subclasses implement parse(ByteBuffer) to parse
the frame specific body.
MessageParser
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final HeaderParser | |
| private final ParserListener | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected long | |
| protected ParserListener | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public abstract BodyParser. | Returns: true if all the frame body bytes were parsed; false if not enough frame body bytes were present in the bufferthe buffer to parse buffer)Parses the frame body bytes in the given |
| protected void |
| headerParser | back to summary |
|---|---|
| private final HeaderParser headerParser | |
| listener | back to summary |
|---|---|
| private final ParserListener listener | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| BodyParser | back to summary |
|---|---|
| protected BodyParser(HeaderParser headerParser, ParserListener listener) | |
| emptyBody | back to summary |
|---|---|
| protected void emptyBody(ByteBuffer buffer) | |
| getBodyLength | back to summary |
|---|---|
| protected long getBodyLength() | |
| getParserListener | back to summary |
|---|---|
| protected ParserListener getParserListener() | |
| notifyGoAway | back to summary |
|---|---|
| protected void notifyGoAway(GoAwayFrame frame) | |
| notifySessionFailure | back to summary |
|---|---|
| protected void notifySessionFailure(long error, String reason, Throwable failure) | |
| notifySettings | back to summary |
|---|---|
| protected void notifySettings(SettingsFrame frame) | |
| notifyStreamFailure | back to summary |
|---|---|
| protected void notifyStreamFailure(long streamId, long error, Throwable failure) | |
| parse | back to summary |
|---|---|
| public abstract BodyParser. Parses the frame body bytes in the given Only the frame body bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes, for example for other frames.
| |
| sessionFailure | back to summary |
|---|---|
| protected void sessionFailure(ByteBuffer buffer, long error, String reason, Throwable failure) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BodyParser. | |
| public static final BodyParser. | |
| public static final BodyParser. | |
| public static final BodyParser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BodyParser. | |
| public static BodyParser. |
| BLOCKED_FRAME | back to summary |
|---|---|
| public static final BodyParser. | |
| FRAGMENT_FRAME | back to summary |
|---|---|
| public static final BodyParser. | |
| NO_FRAME | back to summary |
|---|---|
| public static final BodyParser. | |
| WHOLE_FRAME | back to summary |
|---|---|
| public static final BodyParser. | |
| Result | back to summary |
|---|---|
| private Result() | |
| valueOf | back to summary |
|---|---|
| public static BodyParser. | |
| values | back to summary |
|---|---|
| public static BodyParser. | |