@Deprecated class DefaultResultCallback<T> extends java.lang.Object implements ResultCallback<T>
Modifier and Type | Field and Description |
---|---|
private org.apache.http.concurrent.BasicFuture<T> |
future
Deprecated.
|
private java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> |
queue
Deprecated.
|
Constructor and Description |
---|
DefaultResultCallback(org.apache.http.concurrent.BasicFuture<T> future,
java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelled(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.
|
void |
completed(T result,
org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.
|
void |
failed(java.lang.Exception ex,
org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.
|
boolean |
isDone()
Deprecated.
|
private final org.apache.http.concurrent.BasicFuture<T> future
private final java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue
DefaultResultCallback(org.apache.http.concurrent.BasicFuture<T> future, java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue)
public void completed(T result, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
completed
in interface ResultCallback<T>
public void failed(java.lang.Exception ex, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
failed
in interface ResultCallback<T>
public void cancelled(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
cancelled
in interface ResultCallback<T>
public boolean isDone()
isDone
in interface ResultCallback<T>