public class HttpClientTransportOverHTTP extends AbstractHttpClientTransport
AbstractHttpClientTransport.ClientSelectorManager
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.Listener
LOG
Constructor and Description |
---|
HttpClientTransportOverHTTP() |
HttpClientTransportOverHTTP(int selectors) |
Modifier and Type | Method and Description |
---|---|
protected Connection |
newConnection(EndPoint endPoint,
HttpDestination destination) |
HttpDestination |
newHttpDestination(String scheme,
String host,
int port)
Creates a new, transport-specific,
HttpDestination object. |
Connection |
tunnel(Connection connection)
Establishes an encrypted tunnel over the given
connection |
configure, connect, createSslConnection, doStart, getHttpClient, newSelectorManager, newSslConnection, setHttpClient, tunnel
addBean, addBean, addBean, addEventListener, contains, destroy, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public HttpClientTransportOverHTTP()
public HttpClientTransportOverHTTP(int selectors)
public HttpDestination newHttpDestination(String scheme, String host, int port)
HttpClientTransport
HttpDestination
object.
HttpDestination
controls the destination-connection cardinality: protocols like
HTTP have 1-N cardinality, while multiplexed protocols like SPDY have a 1-1 cardinality.scheme
- the destination schemehost
- the destination hostport
- the destination portHttpDestination
objectprotected Connection newConnection(EndPoint endPoint, HttpDestination destination)
newConnection
in class AbstractHttpClientTransport
public Connection tunnel(Connection connection)
HttpClientTransport
connection
connection
- the connection to tunnelCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.