Class AwsJsonProtocolErrorUnmarshaller
- java.lang.Object
-
- software.amazon.awssdk.protocols.json.internal.unmarshall.AwsJsonProtocolErrorUnmarshaller
-
- All Implemented Interfaces:
HttpResponseHandler<AwsServiceException>
public final class AwsJsonProtocolErrorUnmarshaller extends Object implements HttpResponseHandler<AwsServiceException>
Unmarshaller for AWS specific error responses. All errors are unmarshalled into a subtype ofAwsServiceException
(more specifically a subtype generated for each AWS service).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsJsonProtocolErrorUnmarshaller.Builder
Builder forAwsJsonProtocolErrorUnmarshaller
.
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.core.http.HttpResponseHandler
X_AMZ_ID_2_HEADER, X_AMZN_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER_ALTERNATE, X_AMZN_REQUEST_ID_HEADERS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsJsonProtocolErrorUnmarshaller.Builder
builder()
AwsServiceException
handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.http.HttpResponseHandler
needsConnectionLeftOpen
-
-
-
-
Method Detail
-
handle
public AwsServiceException handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes)
- Specified by:
handle
in interfaceHttpResponseHandler<AwsServiceException>
-
builder
public static AwsJsonProtocolErrorUnmarshaller.Builder builder()
-
-