@ThreadSafe public static interface Context.FailedExecution
ExecutionInterceptor.onExecutionFailure(software.amazon.awssdk.core.interceptor.Context.FailedExecution, software.amazon.awssdk.core.interceptor.ExecutionAttributes) if an entire execution fails for any reason. This includes all information
that is known about the request, like the request() and the exception() that caused the failure.| Modifier and Type | Method and Description |
|---|---|
Throwable |
exception()
The exception associated with the failed execution.
|
Optional<SdkHttpFullRequest> |
httpRequest()
The latest version of the
SdkHttpFullRequest available when the execution failed. |
Optional<SdkHttpFullResponse> |
httpResponse()
The latest version of the
SdkHttpFullResponse available when the execution failed. |
SdkRequest |
request()
The latest version of the
SdkRequest available when the execution failed. |
Optional<SdkResponse> |
response()
The latest version of the
SdkResponse available when the execution failed. |
Throwable exception()
SdkRequest request()
SdkRequest available when the execution failed. This will never return null.Optional<SdkHttpFullRequest> httpRequest()
SdkHttpFullRequest available when the execution failed. If the execution failed
before or during request marshalling, this will return Optional.empty().Optional<SdkHttpFullResponse> httpResponse()
SdkHttpFullResponse available when the execution failed. If the execution failed
before or during transmission, this will return Optional.empty().Optional<SdkResponse> response()
SdkResponse available when the execution failed. If the execution failed before or
during response unmarshalling, this will return Optional.empty().Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.