HttpClientTransport, org.eclipse.jetty.io.ClientConnectionFactoryAbstractConnectorHttpClientTransport@ManagedObject public abstract class AbstractHttpClientTransport extends org.eclipse.jetty.util.component.ContainerLifeCycle implements HttpClientTransport
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Modifier and Type | Field | Description |
|---|---|---|
protected static org.eclipse.jetty.util.log.Logger |
LOG |
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY| Constructor | Description |
|---|---|
AbstractHttpClientTransport() |
| Modifier and Type | Method | Description |
|---|---|---|
ConnectionPool.Factory |
getConnectionPoolFactory() |
|
protected HttpClient |
getHttpClient() |
|
void |
setConnectionPoolFactory(ConnectionPool.Factory factory) |
|
void |
setHttpClient(HttpClient client) |
Sets the
HttpClient instance on this transport. |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringcustomize, newConnectionaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansconnect, newHttpDestinationprotected HttpClient getHttpClient()
public 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 © 1995–2018 Webtide. All rights reserved.