API Note
From RFC 9114:
Frame types of the format 0x1f * N + 0x21 for non-negative integer values of N are reserved to exercise the requirement that unknown types be ignored (Section 9). These frames have no semantics, and MAY be sent on any stream where frames are allowed to be sent. This enables their use for application-layer padding. Endpoints MUST NOT consider these frames to have any meaning upon receipt.
API Note
An instance of UnknownFrame is used to read or writes
the frame's type and length. The payload is supposed to be
read or written directly to the stream on its own, after having
read or written the frame type and length.
jdk.internal.net.http.http3.frames.PartialFrame
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this frame type is one of the reserved typesReturns true if this frame type is one of the reserved types. |
| public long | length()
Implements jdk. Returns the length of this frame. |
| length | back to summary |
|---|---|
| pack-priv final long length | |
| UnknownFrame | back to summary |
|---|---|
| pack-priv UnknownFrame(long type, long length) | |
| isReserved | back to summary |
|---|---|
| public boolean isReserved() Returns true if this frame type is one of the reserved types.
| |
| length | back to summary |
|---|---|
| public long length() Implements jdk. Doc from jdk. Returns the length of this frame.
| |