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 org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.io.ClientConnectionFactory.Info
getClientConnectionFactory, matches, upgrade
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, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, 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.DumpableContainer
isDumpable
-
Constructor Details
-
HTTP11
public HTTP11() -
HTTP11
-
-
Method Details
-
getProtocols
- Specified by:
getProtocols
in classClientConnectionFactory.Info
- Parameters:
secure
-true
for the secure protocol identifiers,false
for the clear-text protocol identifiers- Returns:
- a list of protocol string identifiers
-
newTransport
- Specified by:
newTransport
in classClientConnectionFactory.Info
- Returns:
- the default
Transport
used by the protocol
-
toString
- Overrides:
toString
in classAbstractLifeCycle
-