Class JDK9ServerALPNProcessor

    • Constructor Detail

      • JDK9ServerALPNProcessor

        public JDK9ServerALPNProcessor()
    • Method Detail

      • init

        public void init()
        Description copied from interface: ALPNProcessor
        Initializes this ALPNProcessor
        Specified by:
        init in interface ALPNProcessor
      • appliesTo

        public boolean appliesTo​(javax.net.ssl.SSLEngine sslEngine)
        Description copied from interface: ALPNProcessor
        Tests if this processor can be applied to the given SSLEngine.
        Specified by:
        appliesTo in interface ALPNProcessor
        Parameters:
        sslEngine - the SSLEngine to check
        Returns:
        true if the processor can be applied to the given SSLEngine
      • configure

        public void configure​(javax.net.ssl.SSLEngine sslEngine,
                              Connection connection)
        Description copied from interface: ALPNProcessor
        Configures the given SSLEngine and the given Connection for ALPN.
        Specified by:
        configure in interface ALPNProcessor
        Parameters:
        sslEngine - the SSLEngine to configure
        connection - the Connection to configure