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 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.
-
-
-
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:
completed
in interfaceResultCallback<T>
-
failed
public void failed(java.lang.Exception ex, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.- Specified by:
failed
in interfaceResultCallback<T>
-
cancelled
public void cancelled(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
Deprecated.- Specified by:
cancelled
in interfaceResultCallback<T>
-
isDone
public boolean isDone()
Deprecated.- Specified by:
isDone
in interfaceResultCallback<T>
-
-