public class HttpClientTransportOverUnixSockets extends HttpClientTransportOverHTTP
| Modifier and Type | Class and Description |
|---|---|
class |
HttpClientTransportOverUnixSockets.UnixSocketSelectorManager |
AbstractConnectorHttpClientTransport.ClientSelectorManagerAbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEYCONNECTOR_CONTEXT_KEY| Constructor and Description |
|---|
HttpClientTransportOverUnixSockets(java.lang.String unixSocket) |
| Modifier and Type | Method and Description |
|---|---|
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 |
doStop()
Stops the managed lifecycle beans in the reverse order they were added.
|
protected SelectorManager |
newSelectorManager(HttpClient client) |
newConnection, newHttpConnection, newHttpDestinationconfigure, connectFailed, doStart, getSelectorsgetConnectionPoolFactory, getHttpClient, setConnectionPoolFactory, setHttpClientaddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomizepublic HttpClientTransportOverUnixSockets(java.lang.String unixSocket)
protected SelectorManager newSelectorManager(HttpClient client)
newSelectorManager in class AbstractConnectorHttpClientTransportpublic void connect(java.net.InetSocketAddress address,
java.util.Map<java.lang.String,java.lang.Object> context)
HttpClientTransportaddress.connect in interface HttpClientTransportconnect in class AbstractConnectorHttpClientTransportaddress - the address to connect tocontext - the context information to establish the connectionprotected void doStop()
throws java.lang.Exception
ContainerLifeCycledoStop in class AbstractConnectorHttpClientTransportjava.lang.ExceptionCopyright © 1995–2018 Webtide. All rights reserved.