public final class AwsJsonProtocolErrorUnmarshaller extends Object implements HttpResponseHandler<AwsServiceException>
AwsServiceException (more specifically a subtype generated for each AWS service).| Modifier and Type | Class and Description |
|---|---|
static class |
AwsJsonProtocolErrorUnmarshaller.Builder
Builder for
AwsJsonProtocolErrorUnmarshaller. |
X_AMZ_ID_2_HEADER, X_AMZN_REQUEST_ID_HEADER| Modifier and Type | Method and Description |
|---|---|
static AwsJsonProtocolErrorUnmarshaller.Builder |
builder() |
AwsServiceException |
handle(SdkHttpFullResponse response,
ExecutionAttributes executionAttributes)
Accepts an HTTP response object, and returns an object of type T.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitneedsConnectionLeftOpenpublic AwsServiceException handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes)
HttpResponseHandlerhandle in interface HttpResponseHandler<AwsServiceException>response - The HTTP response to handle, as received from an AWS service.executionAttributes - The attributes attached to this particular execution.public static AwsJsonProtocolErrorUnmarshaller.Builder builder()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.