Class JDK9ServerALPNProcessor.ALPNCallback

  • All Implemented Interfaces:
    java.util.EventListener, java.util.function.BiFunction<javax.net.ssl.SSLEngine,​java.util.List<java.lang.String>,​java.lang.String>, org.eclipse.jetty.io.ssl.SslHandshakeListener
    Enclosing class:
    JDK9ServerALPNProcessor

    private static final class JDK9ServerALPNProcessor.ALPNCallback
    extends java.lang.Object
    implements java.util.function.BiFunction<javax.net.ssl.SSLEngine,​java.util.List<java.lang.String>,​java.lang.String>, org.eclipse.jetty.io.ssl.SslHandshakeListener
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ssl.SslHandshakeListener

        org.eclipse.jetty.io.ssl.SslHandshakeListener.Event
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> protocols)  
      void handshakeFailed​(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event, java.lang.Throwable failure)  
      void handshakeSucceeded​(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiFunction

        andThen
    • Method Detail

      • apply

        public java.lang.String apply​(javax.net.ssl.SSLEngine engine,
                                      java.util.List<java.lang.String> protocols)
        Specified by:
        apply in interface java.util.function.BiFunction<javax.net.ssl.SSLEngine,​java.util.List<java.lang.String>,​java.lang.String>
      • handshakeSucceeded

        public void handshakeSucceeded​(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event)
        Specified by:
        handshakeSucceeded in interface org.eclipse.jetty.io.ssl.SslHandshakeListener
      • handshakeFailed

        public void handshakeFailed​(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event,
                                    java.lang.Throwable failure)
        Specified by:
        handshakeFailed in interface org.eclipse.jetty.io.ssl.SslHandshakeListener