Enum Class SniMatchType
- All Implemented Interfaces:
Serializable, Comparable<SniMatchType>, Constable
Internal classification of the TLS material selected for a connection from SNI.
The match type distinguishes exact and wildcard virtual-host matches from fallback to listener default TLS, so later HTTP protocol handling can expose and enforce the correct request-time policy.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSNI matched an exact configured virtual host.ClientHello had no SNI host and listener default TLS was selected.ClientHello had unmatched SNI and listener default TLS was selected.SNI matched a configured wildcard virtual host. -
Method Summary
Modifier and TypeMethodDescriptionstatic SniMatchTypeReturns the enum constant of this class with the specified name.static SniMatchType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT
SNI matched an exact configured virtual host. -
WILDCARD
SNI matched a configured wildcard virtual host. -
FALLBACK_MISSING
ClientHello had no SNI host and listener default TLS was selected. -
FALLBACK_UNMATCHED
ClientHello had unmatched SNI and listener default TLS was selected.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-