Class ALPNClientConnectionFactory

  • All Implemented Interfaces:
    EventListener, org.eclipse.jetty.io.ClientConnectionFactory, org.eclipse.jetty.io.ssl.SslHandshakeListener

    public class ALPNClientConnectionFactory
    extends org.eclipse.jetty.io.NegotiatingClientConnectionFactory
    implements 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
    • Field Summary

      • Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory

        CONNECTOR_CONTEXT_KEY
    • Constructor Detail

      • ALPNClientConnectionFactory

        public ALPNClientConnectionFactory​(Executor executor,
                                           org.eclipse.jetty.io.ClientConnectionFactory connectionFactory,
                                           List<String> protocols)
    • Method Detail

      • newConnection

        public org.eclipse.jetty.io.Connection newConnection​(org.eclipse.jetty.io.EndPoint endPoint,
                                                             Map<String,​Object> context)
                                                      throws IOException
        Specified by:
        newConnection in interface org.eclipse.jetty.io.ClientConnectionFactory
        Throws:
        IOException