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

      Fields 
      Modifier and Type Field Description
      private java.lang.String hostname  
    • 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
    • Field Detail

      • hostname

        private final java.lang.String hostname
    • Constructor Detail

      • SniCompletionEvent

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

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

        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.