クラスの使用
org.springframework.boot.http.client.HttpComponentsHttpAsyncClientBuilder
HttpComponentsHttpAsyncClientBuilder を使用するパッケージ
org.springframework.boot.http.client 内の HttpComponentsHttpAsyncClientBuilder 使用
修飾子と型メソッド説明HttpComponentsHttpAsyncClientBuilder.withConnectionConfigCustomizer
(ConsumerSE<org.apache.hc.client5.http.config.ConnectionConfig.Builder> connectionConfigCustomizer) 基礎となるConnectionConfig.Builder
に追加のカスタマイズを適用する新しいHttpComponentsHttpAsyncClientBuilder
を返します。HttpComponentsHttpAsyncClientBuilder.withConnectionManagerCustomizer
(ConsumerSE<org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManagerBuilder> connectionManagerCustomizer) 基礎となるPoolingAsyncClientConnectionManagerBuilder
に追加のカスタマイズを適用する新しいHttpComponentsHttpAsyncClientBuilder
を返します。HttpComponentsHttpAsyncClientBuilder.withCustomizer
(ConsumerSE<org.apache.hc.client5.http.impl.async.HttpAsyncClientBuilder> customizer) 基礎となるHttpAsyncClientBuilder
に追加のカスタマイズを適用する新しいHttpComponentsHttpAsyncClientBuilder
を返します。HttpComponentsHttpAsyncClientBuilder.withDefaultRequestConfigCustomizer
(ConsumerSE<org.apache.hc.client5.http.config.RequestConfig.Builder> defaultRequestConfigCustomizer) デフォルトのリクエストに使用される基礎となるRequestConfig.Builder
に追加のカスタマイズを適用する新しいHttpComponentsHttpAsyncClientBuilder
を返します。HttpComponentsHttpAsyncClientBuilder.withTlsStrategyFactory
(FunctionSE<SslBundle, org.apache.hc.core5.http.nio.ssl.TlsStrategy> tlsStrategyFactory) 新しいHttpComponentsHttpAsyncClientBuilder
をTlsStrategy
ファクトリの交換品とともに返却します。