Module org.eclipse.jetty.client
Package org.eclipse.jetty.client
Class AbstractConnectorHttpClientTransport
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.client.AbstractHttpClientTransport
org.eclipse.jetty.client.AbstractConnectorHttpClientTransport
- All Implemented Interfaces:
HttpClient.Aware,HttpClientTransport,org.eclipse.jetty.io.ClientConnectionFactory,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle
- Direct Known Subclasses:
HttpClientTransportDynamic,HttpClientTransportOverHTTP
@ManagedObject
public abstract class AbstractConnectorHttpClientTransport
extends AbstractHttpClientTransport
-
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.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
org.eclipse.jetty.io.ClientConnectionFactory.Decorator, org.eclipse.jetty.io.ClientConnectionFactory.InfoNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested 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, STOPPINGFields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CLIENT_CONTEXT_KEYFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEYFields inherited from interface org.eclipse.jetty.client.HttpClientTransport
HTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractConnectorHttpClientTransport(org.eclipse.jetty.io.ClientConnector connector) -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect(InetSocketAddress address, Map<String, Object> context) Establishes a physical connection to the givenaddress.voidconnect(SocketAddress address, Map<String, Object> context) Establishes a physical connection to the givenaddress.protected voiddoStart()org.eclipse.jetty.io.ClientConnectorintMethods inherited from class org.eclipse.jetty.client.AbstractHttpClientTransport
connectFailed, getConnectionPoolFactory, getHttpClient, setConnectionPoolFactory, setHttpClientMethods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, 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 org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
customize, newConnectionMethods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListenersMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpableMethods inherited from interface org.eclipse.jetty.client.HttpClientTransport
newDestination, newOrigin
-
Constructor Details
-
AbstractConnectorHttpClientTransport
protected AbstractConnectorHttpClientTransport(org.eclipse.jetty.io.ClientConnector connector)
-
-
Method Details
-
getClientConnector
public org.eclipse.jetty.io.ClientConnector getClientConnector() -
getSelectors
@ManagedAttribute(value="The number of selectors", readonly=true) public int getSelectors() -
doStart
-
connect
Description copied from interface:HttpClientTransportEstablishes a physical connection to the givenaddress.- Parameters:
address- the address to connect tocontext- the context information to establish the connection
-
connect
Description copied from interface:HttpClientTransportEstablishes a physical connection to the givenaddress.- Parameters:
address- the address to connect tocontext- the context information to establish the connection
-