Class ClientConnectionFactoryOverHTTP2.HTTP2
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.io.ClientConnectionFactory.Info
org.eclipse.jetty.http2.client.transport.ClientConnectionFactoryOverHTTP2.HTTP2
- All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Enclosing class:
ClientConnectionFactoryOverHTTP2
Representation of the HTTP/2 application protocol used by HttpClientTransportDynamic.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ClientConnectionFactory.Info
getClientConnectionFactory, matchesMethods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
getCachedBeans, getEventListenersMethods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
HTTP2
-
-
Method Details
-
getProtocols
- Specified by:
getProtocolsin classClientConnectionFactory.Info- Parameters:
secure-truefor the secure protocol identifiers,falsefor the clear-text protocol identifiers- Returns:
- a list of protocol string identifiers
-
newTransport
- Specified by:
newTransportin classClientConnectionFactory.Info- Returns:
- the default
Transportused by the protocol
-
upgrade
Description copied from class:ClientConnectionFactory.InfoUpgrades the given
EndPointto the protocol represented by this class.- Overrides:
upgradein classClientConnectionFactory.Info- Parameters:
endPoint- theEndPointto upgradecontext- the context information to perform the upgrade
-
toString
- Overrides:
toStringin classAbstractLifeCycle
-