API Note
An instance of HeadersFrame 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 |
|---|---|
| private final long | |
| public static final int | TYPE
The HEADERS frame type, as defined by HTTP/3 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | length()
Implements jdk. Returns the length of this frame. |
| length | back to summary |
|---|---|
| private final long length | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The HEADERS frame type, as defined by HTTP/3 | |
| HeadersFrame | back to summary |
|---|---|
| public HeadersFrame(long length) Creates a new HTTP/3 HEADERS frame | |
| length | back to summary |
|---|---|
| public long length() Implements jdk. Doc from jdk. Returns the length of this frame.
| |