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 Summary
Modifier and TypeMethodDescription@Nullable org.apache.hc.client5.http.ssl.TlsSocketStrategy
getTlsSocketStrategy
(@Nullable SslBundle sslBundle) Return theTlsSocketStrategy
to use for the given bundle.
-
Method Details
-
getTlsSocketStrategy
@Nullable org.apache.hc.client5.http.ssl.TlsSocketStrategy getTlsSocketStrategy(@Nullable SslBundle sslBundle) Return theTlsSocketStrategy
to use for the given bundle.- Parameters:
sslBundle
- the SSL bundle ornull
- Returns:
- the
TlsSocketStrategy
to use ornull
-