Set the marshaller used to convert inbound and outbound message bodies to
/ from objects.
Add an interceptor which should get a chance to process every request
before it is invoked; useful for things that sign requests and such.
Create a builder to configure connecting
Turn off following of redirects
Turn off the default behavior of setting the Expect: 100-CONTINUE header
when
HTTP requests will transparently load a redirects.
The maximum size of a chunk in bytes.
Set the maximum size of headers in bytes
Set the maximum length of the HTTP initial line, e.g.
Turn off HTTP gzip or deflate compression
For test environments using multiple host names - attaches a DNS resolver
that will resolve all host name addresses to
InetAddress.getLocalHost().
HttpClientBuilder.resolver(io.netty.resolver.AddressResolver<T> resolver)
Set the DNS resolver to use, bypassing the default one.the passed
resolver will be used to resolve all host names by the resulting
HttpClient.
Set the DNS resolver to use, bypassing the default one.the passed
resolver will be used to resolve all host names by the resulting
HttpClient.
Http requests will where appropriate set the Expect: 100-CONTINUE header
HttpClientBuilder.setChannelOption(io.netty.channel.ChannelOption<T> option,
T value)
Set a low-level setting for the Netty pipeline.
Set a cookie store which will be used for all HTTP requests on the
resulting HttpClient (unless overriddeen in RequestBuilder).
Set the thread pool used to perform network I/O.
Set the maximum number of redirects this client can encounter before it
considers itself to be in a redirect loop and cancels the request,
sending a cancelled event.
HttpClientBuilder.setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
Set the ObjectMapper used to read and write JSON.
HttpClientBuilder.setSslContext(io.netty.handler.ssl.SslContext ctx)
Set the SSL context to use when accessing HTTPS addresses.
Set the timeout for requests.
The number of worker threads for processing requests and responses.
Turn on HTTP gzip or deflate compression