インターフェース WebClientSsl
public interface WebClientSsl
apply
SSL 構成から WebClient.Builder
に使用できるインターフェース。通常は次のように使用されます。
@Bean public MyBean myBean(WebClient.Builder webClientBuilder, WebClientSsl ssl) { WebClient webClient = webClientBuilder.apply(ssl.fromBundle("mybundle")).build(); return new MyBean(webClient); }NOTE: SSL 構成を適用すると、以前の
configured
ClientHttpConnector
が置き換えられます。- 導入:
- 3.1.0
- 作成者:
- Phillip Webb
メソッドのサマリー
メソッドの詳細
fromBundle
- パラメーター:
bundleName
- 適用する SSL バンドルの名前- 戻り値:
- 設定を適用するための
Consumer
SE - 例外:
NoSuchSslBundleException
- 指定された名前のバンドルが存在しない場合
fromBundle
- パラメーター:
bundle
- 適用する SSL バンドル- 戻り値:
- 設定を適用するための
Consumer
SE