HttpComponentsHttpAsyncClientBuilder
Builder that can be used to create a Apache HttpComponentsHttpAsyncClient.
Author
Phillip Webb
Andy Wilkinson
Scott Frederick
Since
3.5.0
Functions
Link copied to clipboard
Build a new HttpAsyncClient instance with the given settings applied.
Link copied to clipboard
open fun withConnectionConfigCustomizer(connectionConfigCustomizer: Consumer<ConnectionConfig.Builder>): HttpComponentsHttpAsyncClientBuilder
Return a new HttpComponentsHttpAsyncClientBuilder that applies additional customization to the underlying org.apache.hc.client5.http.config.ConnectionConfig.Builder.
Link copied to clipboard
open fun withConnectionManagerCustomizer(connectionManagerCustomizer: Consumer<PoolingAsyncClientConnectionManagerBuilder>): HttpComponentsHttpAsyncClientBuilder
Return a new HttpComponentsHttpAsyncClientBuilder that applies additional customization to the underlying PoolingAsyncClientConnectionManagerBuilder.
Link copied to clipboard
open fun withCustomizer(customizer: Consumer<HttpAsyncClientBuilder>): HttpComponentsHttpAsyncClientBuilder
Return a new HttpComponentsHttpAsyncClientBuilder that applies additional customization to the underlying HttpAsyncClientBuilder.
Link copied to clipboard
open fun withDefaultRequestConfigCustomizer(defaultRequestConfigCustomizer: Consumer<RequestConfig.Builder>): HttpComponentsHttpAsyncClientBuilder
Return a new HttpComponentsHttpAsyncClientBuilder that applies additional customization to the underlying org.apache.hc.client5.http.config.RequestConfig.Builder used for default requests.
Link copied to clipboard
open fun withTlsStrategyFactory(tlsStrategyFactory: (SslBundle) -> TlsStrategy): HttpComponentsHttpAsyncClientBuilder
Return a new HttpComponentsHttpAsyncClientBuilder with a replacement TlsStrategy factory.