Class BasicClientTlsStrategy

java.lang.Object
org.apache.hc.core5.http.nio.ssl.BasicClientTlsStrategy
All Implemented Interfaces:
TlsStrategy

public class BasicClientTlsStrategy extends Object implements TlsStrategy
Basic client-side implementation of TlsStrategy that upgrades outbound connections with TLS security but does not make use of TLS ALPN extension to negotiate an application protocol. This strategy will also automatically enforce restrictions on TLS parameters by excluding TLS versions and ciphers considered weak.

This strategy should not be used unless no TLS ALPN support is actually desired. One is advised to use a custom TlsStrategy implementation or an implementation provided by the HTTP/2 module.

Since:
5.0