Interface RestClientSsl


public interface RestClientSsl
Interface that can be used to apply SSL configuration to a RestClient.Builder.

Typically used as follows:

 @Bean
 public MyBean myBean(RestClient.Builder restClientBuilder, RestClientSsl ssl) {
     RestClient restClient = restClientBuilder.apply(ssl.fromBundle("mybundle")).build();
     return new MyBean(restClient);
 }
 
NOTE: Apply SSL configuration will replace any previously configured ClientHttpRequestFactory. If you need to configure ClientHttpRequestFactory with more than just SSL consider using a ClientHttpRequestFactoryBuilder.
Since:
3.2.0
Author:
Phillip Webb