HttpClientTransport, org.eclipse.jetty.io.ClientConnectionFactoryHttpClientTransportOverHTTP@ManagedObject public abstract class AbstractConnectorHttpClientTransport extends AbstractHttpClientTransport
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
AbstractConnectorHttpClientTransport.ClientSelectorManager |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerLOGFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractConnectorHttpClientTransport(int selectors) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
configure(HttpClient client,
java.nio.channels.SocketChannel channel) |
|
void |
connect(java.net.InetSocketAddress address,
java.util.Map<java.lang.String,java.lang.Object> context) |
Establishes a physical connection to the given
address. |
protected void |
connectFailed(java.util.Map<java.lang.String,java.lang.Object> context,
java.lang.Throwable x) |
|
protected void |
doStart() |
|
protected void |
doStop() |
|
int |
getSelectors() |
|
protected org.eclipse.jetty.io.SelectorManager |
newSelectorManager(HttpClient client) |
getConnectionPoolFactory, getHttpClient, setConnectionPoolFactory, setHttpClientaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringcustomize, newConnectionaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, 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, updateBeansnewHttpDestinationprotected AbstractConnectorHttpClientTransport(int selectors)
@ManagedAttribute(value="The number of selectors",
readonly=true)
public int getSelectors()
protected void doStart()
throws java.lang.Exception
doStart in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionpublic void connect(java.net.InetSocketAddress address,
java.util.Map<java.lang.String,java.lang.Object> context)
HttpClientTransportaddress.address - the address to connect tocontext - the context information to establish the connectionprotected void connectFailed(java.util.Map<java.lang.String,java.lang.Object> context,
java.lang.Throwable x)
protected void configure(HttpClient client, java.nio.channels.SocketChannel channel) throws java.io.IOException
java.io.IOExceptionprotected org.eclipse.jetty.io.SelectorManager newSelectorManager(HttpClient client)
Copyright © 1995–2018 Webtide. All rights reserved.