Class SniCompletionEvent


  • 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String hostname()
      Returns the SNI hostname send by the client if we were able to parse it, null otherwise.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SniCompletionEvent

        public SniCompletionEvent​(java.lang.String hostname)
      • SniCompletionEvent

        public SniCompletionEvent​(java.lang.String hostname,
                                  java.lang.Throwable cause)
      • SniCompletionEvent

        public SniCompletionEvent​(java.lang.Throwable cause)
    • Method Detail

      • hostname

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