public static enum SslProvider.DefaultConfigurationType extends Enum<SslProvider.DefaultConfigurationType>
SslContextBuilder
Enum Constant and Description |
---|
H2
SslProvider will be set depending on
OpenSsl.isAlpnSupported() ,
Http2SecurityUtil.CIPHERS ,
ALPN support,
HTTP/1.1 and HTTP/2 support |
NONE
There will be no default configuration
|
TCP
SslProvider will be set depending on
OpenSsl.isAvailable() |
Modifier and Type | Method and Description |
---|---|
static SslProvider.DefaultConfigurationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslProvider.DefaultConfigurationType[] |
values()
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()
,
Http2SecurityUtil.CIPHERS
,
ALPN support,
HTTP/1.1 and HTTP/2 supportpublic 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