Package org.mockserver.netty.unification
package org.mockserver.netty.unification
-
ClassesClassDescriptionOutbound handler that adds an
Alt-Svcheader to responses served over the TCP (HTTP/1.1 and HTTP/2) paths when HTTP/3 is enabled.Copies the connection-scoped channel attributes from a parent channel onto a child channel.Inspects the incoming Netty HttpRequest (headers only) and, when a matching expectation is configured withrespondBeforeBody=true, dispatches the response and closes the connection before HttpObjectAggregator buffers the request body.Emits an HTTP/2GOAWAYframe on the connection carryingctxso the client is told to stop opening new streams and drain — the graceful "this connection is going away" signal a server sends before a shutdown / preemption.Per-stream child initializer used withHttp2MultiplexHandlerto build the pipeline for every HTTP/2 stream.AHttp2StreamFrameToHttpObjectCodecthat is lenient on the INBOUND (request) side but strict on the OUTBOUND (response) side.Translates aStreamAddressedHttpContentinto the child-channel equivalent when a streaming response is written on anHttp2MultiplexHandlerchild channel.NettyChannelDuplexHandlerthat injects raw TCP-layer faults before HTTP decoding, based on theTcpChaosProfileregistered inTcpChaosRegistryfor the connection's remote host.Netty handler that extracts W3Ctraceparent/tracestateheaders from inboundHttpRequestobjects and stores the parsedW3CTraceContextas a channel attribute.