Package org.apache.hc.core5.concurrent
Class CallbackContribution<T>
java.lang.Object
org.apache.hc.core5.concurrent.CallbackContribution<T>
- Type Parameters:
T
- the future result type of an asynchronous operation.
- All Implemented Interfaces:
FutureCallback<T>
Convenience base class for
FutureCallback
s that contribute a result
of the operation to another FutureCallback
.- Since:
- 5.1
-
Field Details
-
callback
-
-
Constructor Details
-
CallbackContribution
-
-
Method Details
-
failed
- Specified by:
failed
in interfaceFutureCallback<T>
-
cancelled
public final void cancelled()- Specified by:
cancelled
in interfaceFutureCallback<T>
-