-
Creates a new service invocation instance.
A consumer that will be invoked in case of an exception during the execution of the
service invocation.
A default consumer that will be invoked in case of an exception during the execution of the
service invocation.
A consumer that will be invoked when the backend service invocation was not successful.
A default consumer that will be invoked when the backend service invocation was not successful.
A consumer that will be invoked when the backend service invocation was not successful.
A default consumer that will be invoked when the backend service invocation was not successful.
A runnable that will be invoked after the service invocation has completed.
A consumer that will be invoked first when the
execute()
method gets invoked.
A consumer that will be invoked when the backend returns the given HTTP status code.
A default consumer that will be invoked when the backend returns the given HTTP status code.
A consumer that will be invoked when the backend service invocation was successful.
A consumer that will be invoked when the backend service invocation was successful.
Introduces an artificial delay for the invocation.
An easy way to explicitly make the service invocation fail in order to test the handling of
failures by the application.