public class HttpClientTransportOverHTTP extends AbstractHttpClientTransport
AbstractHttpClientTransport.ClientSelectorManagerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerClientConnectionFactory.HelperLOGFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY| Constructor and Description |
|---|
HttpClientTransportOverHTTP() |
HttpClientTransportOverHTTP(int selectors) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
protected HttpConnectionOverHTTP |
newHttpConnection(EndPoint endPoint,
HttpDestination destination)
Deprecated.
|
protected HttpConnectionOverHTTP |
newHttpConnection(EndPoint endPoint,
HttpDestination destination,
org.eclipse.jetty.util.Promise<Connection> promise) |
HttpDestination |
newHttpDestination(Origin origin)
Creates a new, transport-specific,
HttpDestination object. |
configure, connect, connectFailed, doStart, doStop, getHttpClient, newSelectorManager, setHttpClientaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeanspublic HttpClientTransportOverHTTP()
public HttpClientTransportOverHTTP(int selectors)
public HttpDestination newHttpDestination(Origin origin)
HttpClientTransportHttpDestination object.
HttpDestination controls the destination-connection cardinality: protocols like
HTTP have 1-N cardinality, while multiplexed protocols like SPDY have a 1-1 cardinality.origin - the destination originHttpDestination objectpublic Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
IOExceptionprotected HttpConnectionOverHTTP newHttpConnection(EndPoint endPoint, HttpDestination destination, org.eclipse.jetty.util.Promise<Connection> promise)
@Deprecated protected HttpConnectionOverHTTP newHttpConnection(EndPoint endPoint, HttpDestination destination)
newHttpConnection(EndPoint, HttpDestination, Promise) insteadCopyright © 1995-2019 Webtide. All Rights Reserved.