Interface SniContext
public interface SniContext
Listener SNI decision attached to a connection after TLS virtual-host selection.
Protocol handlers use this context to expose selected host information and to validate the parsed HTTP authority against the TLS SNI selection policy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAuthority check result. -
Method Summary
Modifier and TypeMethodDescriptioncheckAuthority(UriAuthority authority) Check whether an already parsedHTTP authorityis allowed by the listener SNI policy.Configured virtual-host pattern that matched the presented SNI host.SNI match type.Normalized SNI host presented by the client.
-
Method Details
-
presentedHost
-
matchedHost
-
matchType
-
checkAuthority
Check whether an already parsedHTTP authorityis allowed by the listener SNI policy.- Parameters:
authority- parsed HTTP authority- Returns:
- authority check result
-