Class HttpClientConnectionFactory.HTTP11
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.io.ClientConnectionFactory.Info
org.eclipse.jetty.client.transport.HttpClientConnectionFactory.HTTP11
- All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Enclosing class:
HttpClientConnectionFactory
Representation of the HTTP/1.1 application protocol used by HttpClientTransportDynamic.
Applications should prefer using the constant HttpClientConnectionFactory.HTTP11, unless they
need to customize the associated HttpClientConnectionFactory.
-
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, matches, upgradeMethods 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
-
HTTP11
public HTTP11() -
HTTP11
-
-
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
-
toString
- Overrides:
toStringin classAbstractLifeCycle
-