HttpClientSpec |
HttpClientSpec.addressResolver(io.netty.resolver.AddressResolverGroup<?> resolver) |
Specifies a custom name resolver to use.
|
HttpClientSpec |
HttpClientSpec.addressResolver(Action<? super io.netty.resolver.dns.DnsNameResolverBuilder> resolver) |
Specifies a custom name resolver to use.
|
HttpClientSpec |
HttpClientSpec.byteBufAllocator(io.netty.buffer.ByteBufAllocator byteBufAllocator) |
The buffer allocator to use.
|
HttpClientSpec |
HttpClientSpec.connectTimeout(Duration connectTimeout) |
The connect timeout value for requests.
|
HttpClientSpec |
HttpClientSpec.enableMetricsCollection(boolean enableMetricsCollection) |
Enable metric collection on HTTP Client.
|
HttpClientSpec |
HttpClientSpec.errorIntercept(Action<? super Throwable> interceptor) |
Add an interceptor for errors thrown by this client (eg.
|
HttpClientSpec |
HttpClientSpec.execController(ExecController execController) |
The exec controller to associate with.
|
HttpClientSpec |
HttpClientSpec.idleTimeout(Duration idleTimeout) |
The default amount of time to allow a connection to remain idle in the connection pool.
|
HttpClientSpec |
HttpClientSpec.maxContentLength(int maxContentLength) |
The maximum size to allow for responses.
|
HttpClientSpec |
HttpClientSpec.poolQueueSize(int poolQueueSize) |
The maximum number of requests that will be queued if connection pool was depleted.
|
HttpClientSpec |
HttpClientSpec.poolSize(int poolSize) |
The maximum number of connections to maintain to a given protocol/host/port.
|
HttpClientSpec |
HttpClientSpec.proxy(Action<? super ProxySpec> proxy) |
Configure a HTTP proxy for outgoing calls from this client.
|
HttpClientSpec |
HttpClientSpec.readTimeout(Duration readTimeout) |
The read timeout value for responses.
|
HttpClientSpec |
HttpClientSpec.requestIntercept(Action<? super RequestSpec> interceptor) |
Add an interceptor for all requests handled by this client.
|
HttpClientSpec |
HttpClientSpec.responseIntercept(Operation operation) |
Execute the provide Operation for all responses returned by this client.
|
HttpClientSpec |
HttpClientSpec.responseIntercept(Action<? super HttpResponse> interceptor) |
Add an interceptor for all responses returned by this client.
|
HttpClientSpec |
HttpClientSpec.responseMaxChunkSize(int numBytes) |
The max size of the chunks to emit when reading a response as a stream.
|
default HttpClientSpec |
HttpClientSpec.useJdkAddressResolver() |
Specifies that the JDK name resolver should be used.
|