Package org.apache.http.concurrent
Interface FutureCallback<T>
- Type Parameters:
T
- the future result type returned by this callback.
- All Known Implementing Classes:
HttpAsyncRequester.ConnPipelinedRequestCallback
,HttpAsyncRequester.ConnRequestCallback
,HttpAsyncRequester.RequestExecutionCallback
public interface FutureCallback<T>
A callback interface that gets invoked upon completion of
a
Future
.- Since:
- 4.2
-
Method Summary
-
Method Details
-
completed
-
failed
-
cancelled
void cancelled()
-