Configuration for the HTTP client
Type | Name and description |
---|---|
java.util.Map<java.lang.String, java.lang.Object> |
channelOptions Options for the netty channel |
java.lang.Class<io.netty.channel.ChannelHandler> |
codecClass The codec to use |
java.lang.String |
encoding The encoding to use |
io.netty.handler.codec.http.HttpVersion |
httpVersion The HTTP version to use |
int |
maxContentLength The maximum content length the client can consume |
int |
numOfThreads The number of threads the client should use for requests |
java.net.Proxy |
proxy The proxy to use. |
io.netty.handler.ssl.SslProvider |
sslProvider The SSL provider to use |
long |
sslSessionCacheSize The default session cache size |
long |
sslSessionTimeout The SSL timeout period |
javax.net.ssl.TrustManagerFactory |
sslTrustManagerFactory The default trust manager factory |
java.util.concurrent.ThreadFactory |
threadFactory The 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