public class HttpClientTransportOverUnixSockets extends HttpClientTransportOverHTTP
Modifier and Type | Class and Description |
---|---|
class |
HttpClientTransportOverUnixSockets.UnixSocketSelectorManager |
AbstractConnectorHttpClientTransport.ClientSelectorManager
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.Listener
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
HTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY
CONNECTOR_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, newHttpDestination
configure, connectFailed, doStart, getSelectors
getConnectionPoolFactory, getHttpClient, setConnectionPoolFactory, setHttpClient
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
customize
dumpObjects, dumpSelf
public HttpClientTransportOverUnixSockets(java.lang.String unixSocket)
protected SelectorManager newSelectorManager(HttpClient client)
newSelectorManager
in class AbstractConnectorHttpClientTransport
public void connect(java.net.InetSocketAddress address, java.util.Map<java.lang.String,java.lang.Object> context)
HttpClientTransport
address
.connect
in interface HttpClientTransport
connect
in class AbstractConnectorHttpClientTransport
address
- the address to connect tocontext
- the context information to establish the connectionprotected void doStop() throws java.lang.Exception
ContainerLifeCycle
doStop
in class AbstractConnectorHttpClientTransport
java.lang.Exception
Copyright © 1995–2023 Webtide. All rights reserved.