ResponseT - the response or the fault (Exception) that needs to
handledpublic static interface CallChain.Exceptional<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext> extends CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT>
| Modifier and Type | Method and Description |
|---|---|
CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT> |
exceptFilter(CallChain.Callback<? super RequestT,Exception,ClientT,ModelT,CallbackT,Boolean> handler) |
CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT> |
exceptHandler(CallChain.Callback<? super RequestT,Exception,ClientT,ModelT,CallbackT,ProgressEvent<ModelT,CallbackT>> handler) |
CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT> exceptFilter(CallChain.Callback<? super RequestT,Exception,ClientT,ModelT,CallbackT,Boolean> handler)
handler, - a predicate lambda expression that take the web request,
response, client, model and context and says continue or fail
operationCallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT> exceptHandler(CallChain.Callback<? super RequestT,Exception,ClientT,ModelT,CallbackT,ProgressEvent<ModelT,CallbackT>> handler)
handler, - a lambda expression that take the web request, response,
client, model and context and says continue or fail operation by
providing the appropriate ProgressEvent back.OperationStatus.IN_PROGRESS we will attempt
another retry. Otherwise failure is propagated.Copyright © 2019 Amazon Web Services, Inc. All Rights Reserved.