Class SniCompletionEvent


  • @UnstableApi
    public final class SniCompletionEvent
    extends SslCompletionEvent
    Event that is fired once we did a selection of a SslContext based on the SNI hostname, which may be because it was successful or there was an error.
    • Constructor Detail

      • SniCompletionEvent

        public SniCompletionEvent​(String hostname)
      • SniCompletionEvent

        public SniCompletionEvent​(String hostname,
                                  Throwable cause)
      • SniCompletionEvent

        public SniCompletionEvent​(Throwable cause)
    • Method Detail

      • hostname

        public String hostname()
        Returns the SNI hostname send by the client if we were able to parse it, null otherwise.