ResponseT - the response or the fault (Exception) that needs to
handledpublic static interface CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>
| Modifier and Type | Method and Description |
|---|---|
ProgressEvent<ModelT,CallbackT> |
done(CallChain.Callback<RequestT,ResponseT,ClientT,ModelT,CallbackT,ProgressEvent<ModelT,CallbackT>> callback) |
ProgressEvent<ModelT,CallbackT> |
done(Function<ResponseT,ProgressEvent<ModelT,CallbackT>> func) |
default ProgressEvent<ModelT,CallbackT> |
progress() |
default ProgressEvent<ModelT,CallbackT> |
progress(int callbackDelay) |
default ProgressEvent<ModelT,CallbackT> |
success() |
ProgressEvent<ModelT,CallbackT> done(Function<ResponseT,ProgressEvent<ModelT,CallbackT>> func)
func, - this works with only the response of the web service call to
provide ProgressEvent functionProgressEvent for successful web call.ProgressEvent<ModelT,CallbackT> done(CallChain.Callback<RequestT,ResponseT,ClientT,ModelT,CallbackT,ProgressEvent<ModelT,CallbackT>> callback)
callback, - similar to above function can make additional calls etc. to
return the ProgressEventProgressEvent for a successful web calldefault ProgressEvent<ModelT,CallbackT> success()
ProgressEvent Helper function that provides a
OperationStatus.SUCCESS status when the callchain is donedefault ProgressEvent<ModelT,CallbackT> progress()
ProgressEvent Helper function that provides a
OperationStatus.IN_PROGRESS status when the callchain is donedefault ProgressEvent<ModelT,CallbackT> progress(int callbackDelay)
callbackDelay - the number of seconds to delay before calling back into
this externallyProgressEvent Helper function that provides a
OperationStatus.IN_PROGRESS status when the callchain is done
with callback delayCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.