Package org.eclipse.jetty.client
Class AbstractHttpClientTransport
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.client.AbstractHttpClientTransport
- All Implemented Interfaces:
HttpClientTransport,ClientConnectionFactory,Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle
- Direct Known Subclasses:
AbstractConnectorHttpClientTransport
@ManagedObject
@Deprecated(since="2021-05-27")
public abstract class AbstractHttpClientTransport
extends ContainerLifeCycle
implements HttpClientTransport
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.DecoratorNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONNECTOR_CONTEXT_KEYFields inherited from interface org.eclipse.jetty.client.HttpClientTransport
HTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidDeprecated.voidsetHttpClient(HttpClient client) Deprecated.Sets theHttpClientinstance on this transport.Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringMethods inherited from class java.lang.Object
equals, 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.Dumpable.DumpableContainer
isDumpableMethods inherited from interface org.eclipse.jetty.client.HttpClientTransport
connect, newHttpDestination
-
Constructor Details
-
AbstractHttpClientTransport
public AbstractHttpClientTransport()Deprecated.
-
-
Method Details
-
setHttpClient
Deprecated.Description copied from interface:HttpClientTransportSets theHttpClientinstance on this transport.This is needed because of a chicken-egg problem: in order to create the
HttpClientaHttpClientTransportis needed, that therefore cannot have a reference yet to theHttpClient.- Specified by:
setHttpClientin interfaceHttpClientTransport- Parameters:
client- theHttpClientthat uses this transport.
-
getConnectionPoolFactory
Deprecated.- Specified by:
getConnectionPoolFactoryin interfaceHttpClientTransport- Returns:
- the factory for ConnectionPool instances
-
setConnectionPoolFactory
Deprecated.- Specified by:
setConnectionPoolFactoryin interfaceHttpClientTransport- Parameters:
factory- the factory for ConnectionPool instances
-