Class ListenerTlsContext.RejectedSniException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
io.helidon.webserver.ListenerTlsContext.RejectedSniException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
ListenerTlsContext
Rejected SNI selection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRejectedSniException(String message, boolean sendUnrecognizedNameAlert) Create a new rejected SNI exception. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the transport binding should send a TLSunrecognized_namealert.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RejectedSniException
Create a new rejected SNI exception.- Parameters:
message- exception messagesendUnrecognizedNameAlert- whether to send a TLSunrecognized_namealert
-
-
Method Details
-
sendUnrecognizedNameAlert
public boolean sendUnrecognizedNameAlert()Whether the transport binding should send a TLSunrecognized_namealert.- Returns:
- whether to send an alert
-