SslProvider.SslContextSpec#sslContext(ProtocolSslContextSpec)
,
where the default configuration is applied before any other custom configuration.
This will be removed in version 1.2.0.@Deprecated public static enum SslProvider.DefaultConfigurationType extends Enum<SslProvider.DefaultConfigurationType>
SslContextBuilder
.Enum Constant and Description |
---|
H2
Deprecated.
SslProvider will be set depending on
OpenSsl.isAlpnSupported() ,
SslProvider.HTTP2_CIPHERS ,
ALPN support,
HTTP/1.1 and HTTP/2 support. |
NONE
Deprecated.
There will be no default configuration.
|
TCP
Deprecated.
SslProvider will be set depending on
OpenSsl.isAvailable() . |
Modifier and Type | Method and Description |
---|---|
static SslProvider.DefaultConfigurationType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static SslProvider.DefaultConfigurationType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslProvider.DefaultConfigurationType NONE
public static final SslProvider.DefaultConfigurationType TCP
SslProvider
will be set depending on
OpenSsl.isAvailable()
.public static final SslProvider.DefaultConfigurationType H2
SslProvider
will be set depending on
OpenSsl.isAlpnSupported()
,
SslProvider.HTTP2_CIPHERS
,
ALPN support,
HTTP/1.1 and HTTP/2 support.public static SslProvider.DefaultConfigurationType[] values()
for (SslProvider.DefaultConfigurationType c : SslProvider.DefaultConfigurationType.values()) System.out.println(c);
public static SslProvider.DefaultConfigurationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null