Class Http2SslContextSpec

All Implemented Interfaces:
Supplier<Http2SslContextSpec>, SslProvider.GenericSslContextSpec<SslContextBuilder>, SslProvider.ProtocolSslContextSpec

public final class Http2SslContextSpec extends AbstractProtocolSslContextSpec<Http2SslContextSpec>
SslContext builder that provides default configuration specific to HTTP/2 as follows:
  • SslProvider will be set depending on OpenSsl.isAlpnSupported()
  • Http2SecurityUtil.CIPHERS
  • Application protocol negotiation configuration is enabled
  • HTTP/1.1 and HTTP/2 support in order to support upgrade to HTTP/2

The default configuration is applied prior any other custom configuration.

Since:
1.0.6
Author:
Violeta Georgieva