クラスの使用
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<@Nullable SslBundle, @Nullable org.apache.hc.core5.http.nio.ssl.TlsStrategy> tlsStrategyFactory) 新しいHttpComponentsHttpAsyncClientBuilderをTlsStrategyファクトリの交換品とともに返却します。