public abstract class MultiplexHttpDestination<C extends Connection> extends HttpDestination implements Promise<Connection>
Promise.Adapter<C>LOG| Modifier | Constructor and Description |
|---|---|
protected |
MultiplexHttpDestination(HttpClient client,
Origin origin) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Connection connection) |
void |
failed(Throwable x) |
protected boolean |
process(C connection,
boolean dispatch) |
protected void |
send() |
protected abstract void |
send(C connection,
HttpExchange exchange) |
void |
succeeded(Connection result) |
abort, asString, close, createConnection, dump, dump, getClientConnectionFactory, getConnectAddress, getHost, getHostField, getHttpClient, getHttpExchanges, getOrigin, getPort, getProxy, getRequestNotifier, getResponseNotifier, getScheme, newConnection, newSslClientConnectionFactory, remove, send, toStringprotected MultiplexHttpDestination(HttpClient client, Origin origin)
protected 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, boolean dispatch)
public void close(Connection connection)
close in class HttpDestinationprotected abstract void send(C connection, HttpExchange exchange)
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.