Class Http2JDKAlpnSupport$

  • public class Http2JDKAlpnSupport$
    extends java.lang.Object

    The actual implementation of ALPN support on supported JDKs. We rely on lazy class loading to not fail with class loading errors when ALPN support is missing.

    • Field Summary

      Modifier and Type Field Description
      static Http2JDKAlpnSupport$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applySessionParameters​( engine, sessionParameters)  
      void clientSetApplicationProtocols​( engine, java.lang.String[] protocols) jdkAlpnSupport​( engine, scala.Function1<java.lang.String,​scala.runtime.BoxedUnit> setChosenProtocol)  
      • Methods inherited from class java.lang.Object

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

      • MODULE$

        public static final Http2JDKAlpnSupport$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Http2JDKAlpnSupport$

        public Http2JDKAlpnSupport$()
    • Method Detail

      • jdkAlpnSupport

        public jdkAlpnSupport​( engine,
                                                      scala.Function1<java.lang.String,​scala.runtime.BoxedUnit> setChosenProtocol)
      • applySessionParameters

        public void applySessionParameters​( engine,
      • clientSetApplicationProtocols

        public void clientSetApplicationProtocols​( engine,
                                                  java.lang.String[] protocols)