- Type Parameters:
RequestT - , the web service request that was made
ResponseT - the response or the fault (Exception) that needs to
handled
ClientT - , the client that was used to invoke
ModelT - , the resource model object that we are currently working
against
CallbackT - , the callback context that contains results
ReturnT - , the return from the callback.
- Enclosing interface:
- CallChain
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface CallChain.Callback<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext,ReturnT>
All service calls made will use the same call back interface for handling
both exceptions as well as actual response received from the call. The
ResponseT is either the actual response result in the case of success or the
Exception thrown in the case of faults.
- See Also:
CallChain.Exceptional