Class ClientConnectionFactory.Info
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.io.ClientConnectionFactory.Info
- All Implemented Interfaces:
 Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Direct Known Subclasses:
 ClientConnectionFactoryOverHTTP2.HTTP2, ClientConnectionFactoryOverHTTP3.HTTP3, HttpClientConnectionFactory.HTTP11
- Enclosing interface:
 ClientConnectionFactory
A holder for a list of protocol strings identifiers
(for example ["h2", "h2-17", "h2-16"]) and a
ClientConnectionFactory that creates connections
that speak an application protocol such as HTTP.
- 
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.DumpableContainer, Dumpable.DumpAppendableNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener - 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetProtocols(boolean secure) booleanTests whether one of the protocol identifiers of this class is also present in the given candidates list.voidUpgrades the givenEndPointto the protocol represented by this class.Methods 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, stop, toStringMethods 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
- 
Info
 
 - 
 - 
Method Details
- 
getTransport
 - 
getProtocols
 - 
getClientConnectionFactory
- Returns:
 - the 
ClientConnectionFactorythat speaks the protocol 
 - 
matches
Tests whether one of the protocol identifiers of this class is also present in the given candidates list.
- Parameters:
 candidates- the candidates to match againstsecure- whether the protocol should be a secure one- Returns:
 - whether one of the protocols of this class is present in the candidates
 
 - 
upgrade
 
 -