Package org.mockserver.netty.unification
Class HttpServerCodecs
java.lang.Object
org.mockserver.netty.unification.HttpServerCodecs
The
HttpServerCodec of an HTTP/1.1 connection a client opens, directly or through a CONNECT/SOCKS tunnel.-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.handler.codec.http.HttpServerCodechttpServerCodec(org.mockserver.configuration.Configuration configuration) Without a bound on requests awaiting their response, as on 8.0.0: Netty's default of 128 would close a connection whose client pipelines more requests than that before the first is answered.
-
Method Details
-
httpServerCodec
public static io.netty.handler.codec.http.HttpServerCodec httpServerCodec(org.mockserver.configuration.Configuration configuration) Without a bound on requests awaiting their response, as on 8.0.0: Netty's default of 128 would close a connection whose client pipelines more requests than that before the first is answered. Add it between the handlers of anHttpServerCodecResponsePairing, which keeps its pairing of requests and responses in step.
-