Package org.microproxy.frames
package org.microproxy.frames
-
ClassDescriptionOne field of a decoded header block (HTTP/2 HPACK, HTTP/3 QPACK): a name, which is lower case on the wire and starts with
:for a pseudo-header, and a value.Where an intercepted frame travels, and a way to add frames next to it.Where a frame is going, as aFrameInterceptorsees it.Inspects, edits, drops and adds HTTP/2 and HTTP/3 frames on live connections, and HTTP/3 frames in anHttp3FramePipeline.The protocol of an intercepted frame.An HTTP/2 frame (RFC 9113 section 6) as aFrameInterceptorsees it: decoded, with header blocks as field lists (Field).DATA (section 6.1).GOAWAY (section 6.8).HEADERS (section 6.2), with its whole decoded header block.PING (section 6.7); its 8 opaque octets as a big-endian long.PRIORITY (section 6.3), deprecated by RFC 9113; the proxy ignores it and never sends one.PUSH_PROMISE (section 6.6).RST_STREAM (section 6.4).SETTINGS (section 6.5): the identifiers and values the frame carries, in order.A frame of an extension type (section 5.5), such as ALTSVC (10) or PRIORITY_UPDATE (16).WINDOW_UPDATE (section 6.9), for a stream or the connection (stream 0).An HTTP/3 frame (RFC 9114 section 7.2) as aFrameInterceptorsees it, decoded, with header sections as field lists (Field) decoded through QPACK.CANCEL_PUSH (section 7.2.3), on the control stream.DATA (section 7.2.1).GOAWAY (section 7.2.6), on the control stream: from a server, the first client-initiated request stream it will not process; from a client, a push id.HEADERS (section 7.2.2), with its field section decoded.MAX_PUSH_ID (section 7.2.7), from a client on the control stream.PUSH_PROMISE (section 7.2.5), from a server on a request stream.SETTINGS (section 7.2.4), the first frame of the control stream.A frame of an extension or reserved type, such as a grease frame (type0x1f * N + 0x21) or PRIORITY_UPDATE (RFC 9218).Runs aFrameInterceptorover HTTP/3 traffic given as the bytes of its streams: it reads frames from a request stream or a control stream, shows each to the interceptor as anHttp3Frame(HEADERS decoded through QPACK), and writes what comes back to an output stream.Options forHttp3FramePipeline.