Class ClientConnectionFactoryOverHTTP2.HTTP2

  • All Implemented Interfaces:
    org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.LifeCycle
    Enclosing class:
    ClientConnectionFactoryOverHTTP2

    public static class ClientConnectionFactoryOverHTTP2.HTTP2
    extends org.eclipse.jetty.io.ClientConnectionFactory.Info

    Representation of the HTTP/2 application protocol used by HttpClientTransportDynamic.

    See Also:
    HttpClientConnectionFactory.HTTP11
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      HTTP2​(org.eclipse.jetty.http2.client.HTTP2Client client)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getProtocols​(boolean secure)  
      java.lang.String toString()  
      void upgrade​(org.eclipse.jetty.io.EndPoint endPoint, java.util.Map<java.lang.String,​java.lang.Object> context)  
      • Methods inherited from class org.eclipse.jetty.io.ClientConnectionFactory.Info

        getClientConnectionFactory, matches
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.component.Container

        getCachedBeans, getEventListeners
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
    • Constructor Detail

      • HTTP2

        public HTTP2​(org.eclipse.jetty.http2.client.HTTP2Client client)
    • Method Detail

      • getProtocols

        public java.util.List<java.lang.String> getProtocols​(boolean secure)
        Specified by:
        getProtocols in class org.eclipse.jetty.io.ClientConnectionFactory.Info
      • upgrade

        public void upgrade​(org.eclipse.jetty.io.EndPoint endPoint,
                            java.util.Map<java.lang.String,​java.lang.Object> context)
        Overrides:
        upgrade in class org.eclipse.jetty.io.ClientConnectionFactory.Info
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.jetty.util.component.AbstractLifeCycle