Package io.github.mahmoudimus.http2
package io.github.mahmoudimus.http2
-
ClassDescriptionThe error codes of RFC 9113 §7, carried by RST_STREAM and GOAWAY frames.Flow-control accounting for one connection (RFC 9113 §5.2, §6.9): the connection windows and a send and a receive window for each open stream.One HTTP/2 flow-control window (RFC 9113 §5.2, §6.9): of a stream, or of the connection when
FlowControlWindow.streamId()is 0.One HTTP/2 frame (RFC 9113 §6).CONTINUATION (§6.10).DATA (§6.1): part of a stream's content.GOAWAY (§6.8).HEADERS (§6.2).PING (§6.7).PRIORITY (§6.3): parsed and otherwise ignored.The RFC 7540 priority signal carried by PRIORITY frames and HEADERS frames with the PRIORITY flag.PUSH_PROMISE (§6.6), with its complete field block.RST_STREAM (§6.4).SETTINGS (§6.5).A frame of a type this codec does not know (an extension).WINDOW_UPDATE (§6.9) for a stream, or for the connection whenstreamIdis 0.Reads HTTP/2 frames from a blocking stream, one call per frame, validating everything that can be checked from a frame on its own (RFC 9113 §4, §6).Frame type codes (RFC 9113 §6) and frame flags.Writes HTTP/2 frames to a blocking stream.One header or trailer field (a name and a value) as HPACK carries it.A decoded field section is larger than the decoder's SETTINGS_MAX_HEADER_LIST_SIZE.Decodes HPACK field blocks (RFC 7541).Encodes field sections into HPACK field blocks (RFC 7541).A violation of HTTP/2 or HPACK by the peer (or a limit it exceeded), with the error code to send back and the scope of the error (RFC 9113 §5.4).HTTP semantics of HTTP/2 field sections (RFC 9113 §8.2, §8.3): validating decoded header lists intoRequestHeadersandResponseHeaders, and building header lists from HTTP/1-style messages.The SETTINGS parameters of one endpoint (RFC 9113 §6.5.2).BuildsHttp2Settings, starting from the protocol's initial values.The ORIGIN frame (RFC 8336): a server names the origins it is authoritative for on the connection, such ashttps://b.example.comorhttps://b.example.com:8443, so a client may send requests for them there without consulting DNS.A validated HTTP/2 request header section: the control data from the pseudo-header fields and the remaining fields, asHttp2Headers.toRequest(int, java.util.List<io.github.mahmoudimus.http2.HeaderField>)produces it.A validated HTTP/2 response header section, asHttp2Headers.toResponse(int, java.util.List<io.github.mahmoudimus.http2.HeaderField>)produces it.