Package org.mockserver.netty.http3
package org.mockserver.netty.http3
-
ClassDescriptionAdapter that bridges gRPC request/response framing for the HTTP/3 path.Holds the parts of a gRPC response for HTTP/3 framing: the gRPC-framed body bytes, the grpc-status value, and an optional grpc-message.HTTP/3 CONNECT-UDP (MASQUE, RFC 9298) relay handler.The last handler of an HTTP/3 connection's pipeline.Drives true bidirectional gRPC streaming over a single QUIC bidirectional stream (HTTP/3).A
ResponseWriterthat writes gRPC responses over HTTP/3 with correct gRPC wire framing: initial HEADERS (:status=200,content-type=application/grpc), DATA (gRPC length-prefixed message), and trailing HEADERS (grpc-status,grpc-message, plus any trailing metadata the expectation authored withwithTrailer(...)).The last handler of the HTTP/3 UDP listener's pipeline, behind the QUIC codec, which takes no exception itself.HTTP/3 request stream handler that bridges incoming QUIC requests into MockServer's standard request-processing pipeline (expectation matching, actions, recording, proxy forwarding).Thrown at start-up whenhttp3Portis set but the QUIC native library cannot be loaded.Converts between HTTP/3 frames and MockServer'sHttpRequest/HttpResponsemodel.Parsed HTTP/3 pseudo-headers and regular headers.AResponseWriterthat serialises the MockServerHttpResponseas HTTP/3 frames and writes them to a QUIC stream channel.The HTTP/3 listener's segmented (GSO,UDP_SEGMENT) sends, given to the QUIC codec as its allocator and placed in the listener's pipeline to watch the sends it makes.HTTP/3 (QUIC) server for MockServer, integrated with the full request pipeline.Thrown at start-up whenhttp3Portis set and the HTTP/3 server could not be started on it, so that MockServer does not run without a protocol it was configured to serve.Resets an HTTP/3 request stream (RESET_STREAM H3_INTERNAL_ERROR) when writes have been waiting on it forresponseWriteStallTimeoutMillisand QUIC has taken none of them, so a client that stops reading a response cannot hold it, or a streamed response's upstream, indefinitely.Source-address-validating QUIC retry token handler (stateless retry, RFC 9000 ยง8.1).