Package org.apache.http.concurrent
Interface FutureCallback<T>
- 
- Type Parameters:
 T- the future result type returned by this callback.
public interface FutureCallback<T>A callback interface that gets invoked upon completion of aFuture.- Since:
 - 4.2
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelled()voidcompleted(T result)voidfailed(java.lang.Exception ex) 
 - 
 
- 
- 
Method Detail
- 
completed
void completed(T result)
 
- 
failed
void failed(java.lang.Exception ex)
 
- 
cancelled
void cancelled()
 
 - 
 
 -