Interface FollowUpAction
-
public interface FollowUpActionAFollowUpActioncan be added to aResponseFutureto be executed, once the future has be fulfilled.- See Also:
- EventMaid Documentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(Object response, Object errorResponse, Exception exception)Method to be called, when theFollowUpActionis executed.
-
-
-
Method Detail
-
apply
void apply(Object response, Object errorResponse, Exception exception)
Method to be called, when theFollowUpActionis executed.- Parameters:
response- the received response, ornullof an exception was thrownerrorResponse- the received error response, ornullif an exception was thrownexception- the thrown exception ornullotherwise
-
-