Class H2ClientTlsStrategy

java.lang.Object
org.apache.hc.core5.http2.ssl.H2ClientTlsStrategy
All Implemented Interfaces:
TlsStrategy

public class H2ClientTlsStrategy extends Object implements TlsStrategy
Default client-side implementation of TlsStrategy that upgrades outbound connections with TLS security. This strategy will try to negotiate an application protocol using TLS ALPN extension based on HttpVersionPolicy passed to the strategy as an attachment. The strategy will also enforce restrictions on TLS parameters required by the HTTP/2 specification.
Since:
5.0