| Modifier and Type | Method and Description |
|---|---|
| public static Http3Frame | Returns: the decoded frame, ornull if some bytes are
missing to decode the framethe reader containing the bytes reader, LongPredicate a predicate to test whether a given
frame type is allowed in this context isFrameTypeAllowed, Logger a logger to log debug traces debug)Attempts to decode an HTTP/3 frame from the bytes accumulated in the reader. |
| public long | |
| public default long | Returns: the portion of the frame payload that can be read after the frame was created, when the current frame can be read as a partial frame, otherwise 0, if the payload can't be streamedReturns the portion of the frame payload that can be read after the frame was created, when the current frame can be read as a partial frame, otherwise 0, if the payload can't be streamed. |
| public long |
| decode | back to summary |
|---|---|
| public static Http3Frame decode(BuffersReader reader, LongPredicate isFrameTypeAllowed, Logger debug) Attempts to decode an HTTP/3 frame from the bytes accumulated in the reader. API Note If an error is detected while parsing the frame, a
| |
| length | back to summary |
|---|---|
| public long length() Returns the length of this frame.
| |
| streamingLength | back to summary |
|---|---|
| public default long streamingLength() Returns the portion of the frame payload that can be read after the frame was created, when the current frame can be read as a partial frame, otherwise 0, if the payload can't be streamed.
| |
| type | back to summary |
|---|---|
| public long type() Returns the type of this frame.
| |