Interface HttpComponentsHttpClientBuilder.TlsSocketStrategyFactory
- Enclosing class:
- HttpComponentsHttpClientBuilder
public static interface HttpComponentsHttpClientBuilder.TlsSocketStrategyFactory
Factory that can be used to optionally create a 
TlsSocketStrategy given an
SslBundle.- Since:
- 4.0.0
- Author:
- Phillip Webb, Andy Wilkinson, Scott Frederick
- 
Method SummaryModifier and TypeMethodDescription@Nullable org.apache.hc.client5.http.ssl.TlsSocketStrategygetTlsSocketStrategy(@Nullable SslBundle sslBundle) Return theTlsSocketStrategyto use for the given bundle.
- 
Method Details- 
getTlsSocketStrategy@Nullable org.apache.hc.client5.http.ssl.TlsSocketStrategy getTlsSocketStrategy(@Nullable SslBundle sslBundle) Return theTlsSocketStrategyto use for the given bundle.- Parameters:
- sslBundle- the SSL bundle or- null
- Returns:
- the TlsSocketStrategyto use ornull
 
 
-