Uses of Class
org.microproxy.Http1PolicyBuilder
Packages that use Http1PolicyBuilder
-
Uses of Http1PolicyBuilder in org.microproxy
Methods in org.microproxy that return Http1PolicyBuilderModifier and TypeMethodDescriptionHttp1PolicyBuilder.allowChunkedLength(boolean allow) SetsProtocolPolicy.allowChunkedLength(): whether an HTTP/1.1 request with bothTransfer-EncodingandContent-Lengthis accepted, itsContent-Lengthdropped and the connection closed after the response, asHttpProxyServerBootstrap.withAllowChunkedLength(boolean)says for the whole server.Http1PolicyBuilder.filterConnectAnswer(boolean filter) Http1PolicyBuilder.generatedResponses(GeneratedResponses value) Http1PolicyBuilder.mitmServerHandshake(MitmServerHandshake value) Http1PolicyBuilder.preset(ProtocolPolicy preset) Http1PolicyBuilder.proxyProtocolDestination(ProxyProtocolDestination destination) Http1PolicyBuilder.requestHeadTimeout(Duration timeout) Http1PolicyBuilder.resolveBeforeProxyToServerRequest(boolean resolveFirst) Http1PolicyBuilder.servePlainHttpAfterConnect(boolean serve) Sets a field by its configuration name, asProtocolPolicy.Builder.set(java.lang.String, java.lang.String)does, and alsoallow_chunked_length.Http1PolicyBuilder.tlsRetryWithoutSni(boolean retry) Method parameters in org.microproxy with type arguments of type Http1PolicyBuilderModifier and TypeMethodDescriptiondefault HttpProxyServerBootstrapHttpProxyServerBootstrap.onHttp1(Consumer<Http1PolicyBuilder> policy) Sets fields of theProtocolPolicyof HTTP/1.x clients, which win over those set for every protocol (HttpProxyServerBootstrap.onAllProtocols(java.util.function.Consumer<org.microproxy.ProtocolPolicy.Builder>)) and over HTTP/1's defaults.