インターフェース RestClientSsl


public interface RestClientSsl
apply SSL 構成から RestClient.Builder に使用できるインターフェース。

通常は次のように使用されます。

 @Bean
 public MyBean myBean(RestClient.Builder restClientBuilder, RestClientSsl ssl) {
     RestClient restClient = restClientBuilder.apply(ssl.fromBundle("mybundle")).build();
     return new MyBean(restClient);
 }
 
NOTE: SSL 構成を適用すると、以前の configured ClientHttpRequestFactory が置き換えられます。SSL 以外の ClientHttpRequestFactory を構成する必要がある場合は、ClientHttpRequestFactorySettingsClientHttpRequestFactories の使用を検討してください。
導入:
3.2.0
作成者:
Phillip Webb