Class DefaultFailedExecutionContext
java.lang.Object
software.amazon.awssdk.core.internal.interceptor.DefaultFailedExecutionContext
- All Implemented Interfaces:
Context.FailedExecution,ToCopyableBuilder<DefaultFailedExecutionContext.Builder,DefaultFailedExecutionContext>
public class DefaultFailedExecutionContext
extends Object
implements Context.FailedExecution, ToCopyableBuilder<DefaultFailedExecutionContext.Builder,DefaultFailedExecutionContext>
An SDK-internal implementation of
Context.FailedExecution.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The exception associated with the failed execution.The latest version of theSdkHttpRequestavailable when the execution failed.The latest version of theSdkHttpResponseavailable when the execution failed.request()The latest version of theSdkRequestavailable when the execution failed.response()The latest version of theSdkResponseavailable when the execution failed.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
request
Description copied from interface:Context.FailedExecutionThe latest version of theSdkRequestavailable when the execution failed. This will never return null.- Specified by:
requestin interfaceContext.FailedExecution
-
httpRequest
Description copied from interface:Context.FailedExecutionThe latest version of theSdkHttpRequestavailable when the execution failed. This may be aSdkHttpFullRequest; if so, it can be accessed by casting the returnedSdkHttpRequest. If the execution failed before or during request marshalling, this will returnOptional.empty().- Specified by:
httpRequestin interfaceContext.FailedExecution
-
httpResponse
Description copied from interface:Context.FailedExecutionThe latest version of theSdkHttpResponseavailable when the execution failed. This may be aSdkHttpFullResponse; if so, it can be accessed by casting the returnedSdkHttpResponse. If the execution failed before or during transmission, this will returnOptional.empty().- Specified by:
httpResponsein interfaceContext.FailedExecution
-
response
Description copied from interface:Context.FailedExecutionThe latest version of theSdkResponseavailable when the execution failed. If the execution failed before or during response unmarshalling, this will returnOptional.empty().- Specified by:
responsein interfaceContext.FailedExecution
-
exception
Description copied from interface:Context.FailedExecutionThe exception associated with the failed execution. This is the reason the execution has failed, and is the exception that will be returned or thrown from the client method call. This will never return null.- Specified by:
exceptionin interfaceContext.FailedExecution
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DefaultFailedExecutionContext.Builder,DefaultFailedExecutionContext> - Returns:
- a builder for type T
-
builder
-