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