public abstract class MultiplexHttpDestination<C extends Connection> extends HttpDestination implements Promise<Connection>
AbstractLifeCycle.AbstractLifeCycleListenerPromise.Adapter<C>Container.InheritedListener, Container.ListenerLifeCycle.ListenerLOG| Modifier | Constructor and Description |
|---|---|
protected |
MultiplexHttpDestination(HttpClient client,
Origin origin) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(Connection connection) |
void |
failed(Throwable x) |
protected boolean |
process(C connection) |
void |
send() |
protected abstract void |
send(C connection,
HttpExchange exchange) |
void |
succeeded(Connection result) |
abort, asString, createConnection, dump, dump, enqueue, getClientConnectionFactory, getConnectAddress, getHost, getHostField, getHttpClient, getHttpExchanges, getOrigin, getPort, getProxy, getQueuedRequestCount, getRequestNotifier, getResponseNotifier, getScheme, newConnection, newExchangeQueue, newSslClientConnectionFactory, release, remove, send, toStringaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopprotected MultiplexHttpDestination(HttpClient client, Origin origin)
public void send()
send in class HttpDestinationpublic void succeeded(Connection result)
succeeded in interface Promise<Connection>public void failed(Throwable x)
failed in interface Promise<Connection>protected boolean process(C connection)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class HttpDestinationpublic void close(Connection connection)
close in class HttpDestinationprotected abstract void send(C connection, HttpExchange exchange)
Copyright © 1995-2015 Webtide. All Rights Reserved.