Package org.apache.http.impl.nio.client
Class DefaultResultCallback<T>
- java.lang.Object
-
- org.apache.http.impl.nio.client.DefaultResultCallback<T>
-
- All Implemented Interfaces:
ResultCallback<T>
@Deprecated class DefaultResultCallback<T> extends java.lang.Object implements ResultCallback<T>
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description DefaultResultCallback(org.apache.http.concurrent.BasicFuture<T> future, java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcancelled(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)Deprecated.voidcompleted(T result, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)Deprecated.voidfailed(java.lang.Exception ex, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)Deprecated.booleanisDone()Deprecated.
-
-
-
Field Detail
-
future
private final org.apache.http.concurrent.BasicFuture<T> future
Deprecated.
-
queue
private final java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue
Deprecated.
-
-
Constructor Detail
-
DefaultResultCallback
DefaultResultCallback(org.apache.http.concurrent.BasicFuture<T> future, java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue)
Deprecated.
-
-
Method Detail
-
completed
public void completed(T result, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.- Specified by:
completedin interfaceResultCallback<T>
-
failed
public void failed(java.lang.Exception ex, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)Deprecated.- Specified by:
failedin interfaceResultCallback<T>
-
cancelled
public void cancelled(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.- Specified by:
cancelledin interfaceResultCallback<T>
-
isDone
public boolean isDone()
Deprecated.- Specified by:
isDonein interfaceResultCallback<T>
-
-