HttpComponentsClientHttpConnectorBuilder

Functions

Link copied to clipboard
Build a fully configured ClientHttpConnector, applying the given settings if they are provided.
open fun build(): T
Build a default configured ClientHttpConnectorBuilder.
Link copied to clipboard
Detect the most suitable ClientHttpConnectorBuilder based on the classpath.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : ClientHttpConnector?> of(clientHttpConnectorType: Class<T>): ClientHttpConnectorBuilder<T>
Return a new ClientHttpConnectorBuilder for the given requestFactoryType.
Link copied to clipboard
Link copied to clipboard
open fun withConnectionConfigCustomizer(connectionConfigCustomizer: Consumer<ConnectionConfig.Builder>): HttpComponentsClientHttpConnectorBuilder
Return a new HttpComponentsClientHttpConnectorBuilder 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>): HttpComponentsClientHttpConnectorBuilder
Return a new HttpComponentsClientHttpConnectorBuilder that applies additional customization to the underlying PoolingAsyncClientConnectionManagerBuilder.
Link copied to clipboard
Return a new ClientHttpConnectorBuilder that applies the given customizer to the ClientHttpConnector after it has been built.
Link copied to clipboard
Return a new ClientHttpConnectorBuilder that applies the given customizers to the ClientHttpConnector after it has been built.
Link copied to clipboard
open fun withDefaultRequestConfigCustomizer(defaultRequestConfigCustomizer: Consumer<RequestConfig.Builder>): HttpComponentsClientHttpConnectorBuilder
Return a new HttpComponentsClientHttpConnectorBuilder 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 withHttpClientCustomizer(httpClientCustomizer: Consumer<HttpAsyncClientBuilder>): HttpComponentsClientHttpConnectorBuilder
Return a new HttpComponentsClientHttpConnectorBuilder that applies additional customization to the underlying HttpAsyncClientBuilder.
Link copied to clipboard
Return a new HttpComponentsClientHttpConnectorBuilder with a replacement TlsStrategy factory.