Class ALPNClientConnectionFactory

    • Constructor Detail

      • ALPNClientConnectionFactory

        public ALPNClientConnectionFactory​(java.util.concurrent.Executor executor,
                                           ClientConnectionFactory connectionFactory,
                                           java.util.List<java.lang.String> protocols)
    • Method Detail

      • newConnection

        public Connection newConnection​(EndPoint endPoint,
                                        java.util.Map<java.lang.String,​java.lang.Object> context)
        Parameters:
        endPoint - the EndPoint to link the newly created connection to
        context - the context data to create the connection
        Returns:
        a new Connection