Class Http2AlpnSupport$


  • public class Http2AlpnSupport$
    extends java.lang.Object
    INTERNAL API

    Will add support to an engine either using jetty alpn or using netty APIs (later).

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Http2AlpnSupport$ 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 clientSetApplicationProtocols​(javax.net.ssl.SSLEngine engine, java.lang.String[] protocols)  
      javax.net.ssl.SSLEngine enableForServer​(javax.net.ssl.SSLEngine engine, scala.Function1<java.lang.String,​scala.runtime.BoxedUnit> setChosenProtocol)
      Enables server-side Http/2 ALPN support for the given engine.
      java.lang.String H2()  
      java.lang.String HTTP11()  
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • Http2AlpnSupport$

        public Http2AlpnSupport$()
    • Method Detail

      • H2

        public java.lang.String H2()
      • HTTP11

        public java.lang.String HTTP11()
      • enableForServer

        public javax.net.ssl.SSLEngine enableForServer​(javax.net.ssl.SSLEngine engine,
                                                       scala.Function1<java.lang.String,​scala.runtime.BoxedUnit> setChosenProtocol)
        Enables server-side Http/2 ALPN support for the given engine.
        Parameters:
        engine - (undocumented)
        setChosenProtocol - (undocumented)
        Returns:
        (undocumented)
      • clientSetApplicationProtocols

        public void clientSetApplicationProtocols​(javax.net.ssl.SSLEngine engine,
                                                  java.lang.String[] protocols)