-
HttpClient(boolean compress,
int maxChunkSize,
int threads,
int maxInitialLineLength,
int maxHeadersSize,
boolean followRedirects,
CharSequence userAgent,
List<RequestInterceptor> interceptors,
Iterable<HttpClientBuilder.ChannelOptionSetting<?>> settings,
boolean send100continue,
CookieStore cookies,
Duration timeout,
io.netty.handler.ssl.SslContext sslContext,
io.netty.resolver.AddressResolverGroup<?> resolver,
io.netty.channel.nio.NioEventLoopGroup threadPool,
int maxRedirects,
NettyContentMarshallers marshallers,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Create a new HTTP client; prefer HttpClient.builder() where possible, as
that is much simpler.HttpClientBuilder will remain backward compatible;
this constructor may be changed if new parameters are needed (all state
of an HTTP client is immutable and must be passed to the constructor).