class HttpAsyncRequester.RequestExecutionCallback<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> extends Object implements FutureCallback<T>
Modifier and Type | Field and Description |
---|---|
private ConnPool<HttpHost,E> |
connPool |
private BasicFuture<T> |
future |
private E |
poolEntry |
Constructor and Description |
---|
RequestExecutionCallback(BasicFuture<T> future,
E poolEntry,
ConnPool<HttpHost,E> connPool) |
Modifier and Type | Method and Description |
---|---|
void |
cancelled() |
void |
completed(T result) |
void |
failed(Exception ex) |
private final BasicFuture<T> future
private final E extends PoolEntry<HttpHost,NHttpClientConnection> poolEntry
RequestExecutionCallback(BasicFuture<T> future, E poolEntry, ConnPool<HttpHost,E> connPool)
public void completed(T result)
completed
in interface FutureCallback<T>
public void failed(Exception ex)
failed
in interface FutureCallback<T>
public void cancelled()
cancelled
in interface FutureCallback<T>
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses