Class BasicServerTlsStrategy

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

public class BasicServerTlsStrategy extends Object implements TlsStrategy
Basic server-side implementation of TlsStrategy that upgrades inbound connection 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