Completes the request (flow) with the provided Response.
Completes the request (flow) with the provided Response.
either a successful response or a failure.
RequestAlreadyCompletedException
if the request has already been completed
A request can only be completed once!
Returns a future that will be completed when this request (flow) is completed.
Returns true iff the request has been completed
The provided function is called when the request is completed
The provided function is called when the request is completed
function to be called on completion
The specified function is called when the request fails.
The specified function is called when the request fails.
function to be called on failure.
The specified function is called when the request is completed successfully
The specified function is called when the request is completed successfully
function to be called on successful completion
Completes the request (flow) with a failure
Completes the request (flow) with a failure
Exception indicating the failure
RequestAlreadyCompletedException
if the request has already been completed
Completes the request (flow) successfully with the provided response result.
Completes the request (flow) successfully with the provided response result.
The result data object
RequestAlreadyCompletedException
if the request has already been completed