Class ListenerTlsContext.RejectedSniException

All Implemented Interfaces:
Serializable
Enclosing interface:
ListenerTlsContext

public static final class ListenerTlsContext.RejectedSniException extends IllegalArgumentException
Rejected SNI selection.
See Also:
  • Constructor Details

    • RejectedSniException

      public RejectedSniException(String message, boolean sendUnrecognizedNameAlert)
      Create a new rejected SNI exception.
      Parameters:
      message - exception message
      sendUnrecognizedNameAlert - whether to send a TLS unrecognized_name alert
  • Method Details

    • sendUnrecognizedNameAlert

      public boolean sendUnrecognizedNameAlert()
      Whether the transport binding should send a TLS unrecognized_name alert.
      Returns:
      whether to send an alert