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()
Helper function that provides a
OperationStatus.IN_PROGRESS status
when the callchain is done |
default ProgressEvent<ModelT,CallbackT> |
progress(int callbackDelay)
Helper function that provides a
OperationStatus.IN_PROGRESS status
when the callchain is done |
default ProgressEvent<ModelT,CallbackT> |
success()
Helper function that provides a
OperationStatus.SUCCESS status when
the callchain is done |
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()
OperationStatus.SUCCESS status when
the callchain is donedefault ProgressEvent<ModelT,CallbackT> progress()
OperationStatus.IN_PROGRESS status
when the callchain is donedefault ProgressEvent<ModelT,CallbackT> progress(int callbackDelay)
OperationStatus.IN_PROGRESS status
when the callchain is doneCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.