Configuration for the HTTP client
| Type | Name and description |
|---|---|
java.util.Map<java.lang.String, java.lang.Object> |
channelOptionsOptions for the netty channel |
java.lang.Class<io.netty.channel.ChannelHandler> |
codecClassThe codec to use |
java.lang.String |
encodingThe encoding to use |
io.netty.handler.codec.http.HttpVersion |
httpVersionThe HTTP version to use |
int |
maxContentLengthThe maximum content length the client can consume |
int |
numOfThreadsThe number of threads the client should use for requests |
java.net.Proxy |
proxyThe proxy to use. |
io.netty.handler.ssl.SslProvider |
sslProviderThe SSL provider to use |
long |
sslSessionCacheSizeThe default session cache size |
long |
sslSessionTimeoutThe SSL timeout period |
javax.net.ssl.TrustManagerFactory |
sslTrustManagerFactoryThe default trust manager factory |
java.util.concurrent.ThreadFactory |
threadFactoryThe thread factory to use for creating threads |
Options for the netty channel
The codec to use
The encoding to use
The HTTP version to use
The maximum content length the client can consume
The number of threads the client should use for requests
The proxy to use. For authentication specify http.proxyUser and http.proxyPassword system properties Alternatively configure a java.net.ProxySelector
The SSL provider to use
The default session cache size
The SSL timeout period
The default trust manager factory
The thread factory to use for creating threads