Class JDK9ClientALPNProcessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean appliesTo​(javax.net.ssl.SSLEngine sslEngine)
      Tests if this processor can be applied to the given SSLEngine.
      void configure​(javax.net.ssl.SSLEngine sslEngine, Connection connection)
      Configures the given SSLEngine and the given Connection for ALPN.
      void init()
      Initializes this ALPNProcessor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JDK9ClientALPNProcessor

        public JDK9ClientALPNProcessor()
    • 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