@ManagedObject public abstract class AbstractHttpClientTransport extends ContainerLifeCycle implements HttpClientTransport
AbstractLifeCycle.AbstractLifeCycleListenerClientConnectionFactory.DecoratorContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEYCONNECTOR_CONTEXT_KEY| Constructor and Description |
|---|
AbstractHttpClientTransport() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPool.Factory |
getConnectionPoolFactory() |
void |
setConnectionPoolFactory(ConnectionPool.Factory factory) |
void |
setHttpClient(HttpClient client)
Sets the
HttpClient instance on this transport. |
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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitconnect, newHttpDestinationcustomize, newConnectiondumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic void setHttpClient(HttpClient client)
HttpClientTransportHttpClient instance on this transport.
This is needed because of a chicken-egg problem: in order to create the HttpClient
a HttpClientTransport is needed, that therefore cannot have a reference yet to the
HttpClient.
setHttpClient in interface HttpClientTransportclient - the HttpClient that uses this transport.public ConnectionPool.Factory getConnectionPoolFactory()
getConnectionPoolFactory in interface HttpClientTransportpublic void setConnectionPoolFactory(ConnectionPool.Factory factory)
setConnectionPoolFactory in interface HttpClientTransportfactory - the factory for ConnectionPool instancesCopyright © 2010 - 2020 Adobe. All Rights Reserved