Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.protocol.json | |
com.amazonaws.transform |
Constructor and Description |
---|
DefaultErrorResponseHandler(Map<String,Unmarshaller<AmazonServiceException,Node>> unmarshallerMap,
Unmarshaller<AmazonServiceException,Node> defaultUnmarshaller)
Constructs a new DefaultErrorResponseHandler that will handle error responses from Amazon
services using the specified map of unmarshallers.
|
JsonResponseHandler(Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeMarshallers,
com.fasterxml.jackson.core.JsonFactory jsonFactory,
boolean needsConnectionLeftOpen,
boolean isPayloadJson)
Constructs a new response handler that will use the specified JSON unmarshaller to unmarshall
the service response and uses the specified response element path to find the root of the
business data in the service's response.
|
StaxResponseHandler(Unmarshaller<T,StaxUnmarshallerContext> responseUnmarshaller)
Constructs a new response handler that will use the specified StAX
unmarshaller to unmarshall the service response and uses the specified
response element path to find the root of the business data in the
service's response.
|
StaxResponseHandler(Unmarshaller<T,StaxUnmarshallerContext> responseUnmarshaller,
boolean needsConnectionLeftOpen,
boolean isPayloadXML) |
Constructor and Description |
---|
DefaultErrorResponseHandler(List<Unmarshaller<AmazonServiceException,Node>> unmarshallerList)
Constructs a new DefaultErrorResponseHandler that will handle error responses from Amazon
services using the specified list of unmarshallers.
|
DefaultErrorResponseHandler(Map<String,Unmarshaller<AmazonServiceException,Node>> unmarshallerMap,
Unmarshaller<AmazonServiceException,Node> defaultUnmarshaller)
Constructs a new DefaultErrorResponseHandler that will handle error responses from Amazon
services using the specified map of unmarshallers.
|
JsonErrorResponseHandler(List<JsonErrorUnmarshaller> errorUnmarshallers,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeUnmarshallers,
ErrorCodeParser errorCodeParser,
boolean hasAwsQueryCompatible,
JsonErrorMessageParser errorMessageParser,
com.fasterxml.jackson.core.JsonFactory jsonFactory) |
JsonErrorResponseHandler(List<JsonErrorUnmarshaller> errorUnmarshallers,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeUnmarshallers,
ErrorCodeParser errorCodeParser,
boolean hasAwsQueryCompatible,
JsonErrorMessageParser errorMessageParser,
com.fasterxml.jackson.core.JsonFactory jsonFactory) |
JsonErrorResponseHandler(List<JsonErrorUnmarshaller> errorUnmarshallers,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeUnmarshallers,
ErrorCodeParser errorCodeParser,
JsonErrorMessageParser errorMessageParser,
com.fasterxml.jackson.core.JsonFactory jsonFactory) |
JsonErrorResponseHandler(List<JsonErrorUnmarshaller> errorUnmarshallers,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeUnmarshallers,
ErrorCodeParser errorCodeParser,
JsonErrorMessageParser errorMessageParser,
com.fasterxml.jackson.core.JsonFactory jsonFactory) |
JsonResponseHandler(Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeMarshallers,
com.fasterxml.jackson.core.JsonFactory jsonFactory,
boolean needsConnectionLeftOpen,
boolean isPayloadJson)
Constructs a new response handler that will use the specified JSON unmarshaller to unmarshall
the service response and uses the specified response element path to find the root of the
business data in the service's response.
|
JsonResponseHandler(Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> simpleTypeUnmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeMarshallers,
com.fasterxml.jackson.core.JsonFactory jsonFactory,
boolean needsConnectionLeftOpen,
boolean isPayloadJson)
Constructs a new response handler that will use the specified JSON unmarshaller to unmarshall
the service response and uses the specified response element path to find the root of the
business data in the service's response.
|
Modifier and Type | Field and Description |
---|---|
static Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> |
SdkStructuredPlainJsonFactory.JSON_CUSTOM_TYPE_UNMARSHALLERS |
static Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> |
SdkStructuredPlainJsonFactory.JSON_SCALAR_UNMARSHALLERS |
Modifier and Type | Method and Description |
---|---|
<T> HttpResponseHandler<AmazonWebServiceResponse<T>> |
SdkJsonProtocolFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successful response.
|
<T> JsonResponseHandler<T> |
SdkStructuredJsonFactoryImpl.createResponseHandler(JsonOperationMetadata operationMetadata,
Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller) |
<T> JsonResponseHandler<T> |
SdkStructuredJsonFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successfull response.
|
Constructor and Description |
---|
SdkStructuredJsonFactoryImpl(com.fasterxml.jackson.core.JsonFactory jsonFactory,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> unmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeUnmarshallers) |
SdkStructuredJsonFactoryImpl(com.fasterxml.jackson.core.JsonFactory jsonFactory,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> unmarshallers,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customTypeUnmarshallers) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractErrorUnmarshaller<T> |
class |
EnhancedJsonErrorUnmarshaller
A JSON error unmarshaller that can unmarshall from a
JsonUnmarshallerContext instead of a JsonNode . |
class |
JsonErrorUnmarshaller
Unmarshaller for JSON error responses from AWS services.
|
class |
LegacyErrorUnmarshaller
Unmarshalls an AWS error response into an AmazonServiceException, or
optionally, a subclass of AmazonServiceException if this class is extended.
|
class |
ListUnmarshaller<T>
This unmarshaller assumes that the start array token as already been consumed before getting
control of the context.
|
class |
MapUnmarshaller<K,V> |
static class |
SimpleTypeCborUnmarshallers.BigDecimalCborUnmarshaller |
static class |
SimpleTypeCborUnmarshallers.BigIntegerCborUnmarshaller |
static class |
SimpleTypeCborUnmarshallers.BooleanCborUnmarshaller
Unmarshaller for Boolean values.
|
static class |
SimpleTypeCborUnmarshallers.ByteBufferCborUnmarshaller
Unmarshaller for ByteBuffer values.
|
static class |
SimpleTypeCborUnmarshallers.ByteCborUnmarshaller
Unmarshaller for Byte values.
|
static class |
SimpleTypeCborUnmarshallers.DateCborUnmarshaller
Unmarshaller for Date values - JSON dates come in as epoch seconds.
|
static class |
SimpleTypeCborUnmarshallers.DoubleCborUnmarshaller
Unmarshaller for Double values.
|
static class |
SimpleTypeCborUnmarshallers.FloatCborUnmarshaller
Unmarshaller for Float values.
|
static class |
SimpleTypeCborUnmarshallers.IntegerCborUnmarshaller
Unmarshaller for Integer values.
|
static class |
SimpleTypeCborUnmarshallers.LongCborUnmarshaller
Unmarshaller for Long values.
|
static class |
SimpleTypeCborUnmarshallers.ShortCborUnmarshaller
Unmarshaller for Short values.
|
static class |
SimpleTypeCborUnmarshallers.StringCborUnmarshaller
Unmarshaller for String values.
|
static class |
SimpleTypeJsonUnmarshallers.BigDecimalJsonUnmarshaller |
static class |
SimpleTypeJsonUnmarshallers.BigIntegerJsonUnmarshaller |
static class |
SimpleTypeJsonUnmarshallers.BooleanJsonUnmarshaller
Unmarshaller for Boolean values.
|
static class |
SimpleTypeJsonUnmarshallers.ByteBufferJsonUnmarshaller
Unmarshaller for ByteBuffer values.
|
static class |
SimpleTypeJsonUnmarshallers.ByteJsonUnmarshaller
Unmarshaller for Byte values.
|
static class |
SimpleTypeJsonUnmarshallers.CharacterJsonUnmarshaller
Unmarshaller for Character values.
|
static class |
SimpleTypeJsonUnmarshallers.DateJsonUnmarshaller
Unmarshaller for Date values - JSON dates come in as epoch seconds for AWS services and ISO8601 string
for API Gateway fronted services..
|
static class |
SimpleTypeJsonUnmarshallers.DateJsonUnmarshallerFactory |
static class |
SimpleTypeJsonUnmarshallers.DoubleJsonUnmarshaller
Unmarshaller for Double values.
|
static class |
SimpleTypeJsonUnmarshallers.FloatJsonUnmarshaller
Unmarshaller for Float values.
|
static class |
SimpleTypeJsonUnmarshallers.IntegerJsonUnmarshaller
Unmarshaller for Integer values.
|
static class |
SimpleTypeJsonUnmarshallers.JsonValueStringUnmarshaller
Unmarshaller for fields with JSON values.
|
static class |
SimpleTypeJsonUnmarshallers.LongJsonUnmarshaller
Unmarshaller for Long values.
|
static class |
SimpleTypeJsonUnmarshallers.ShortJsonUnmarshaller
Unmarshaller for Short values.
|
static class |
SimpleTypeJsonUnmarshallers.StringJsonUnmarshaller
Unmarshaller for String values.
|
static class |
SimpleTypeStaxUnmarshallers.BigDecimalStaxUnmarshaller |
static class |
SimpleTypeStaxUnmarshallers.BigIntegerStaxUnmarshaller |
static class |
SimpleTypeStaxUnmarshallers.BooleanStaxUnmarshaller
Unmarshaller for Boolean values.
|
static class |
SimpleTypeStaxUnmarshallers.ByteBufferStaxUnmarshaller
Unmarshaller for ByteBuffer values.
|
static class |
SimpleTypeStaxUnmarshallers.ByteStaxUnmarshaller
Unmarshaller for Byte values.
|
static class |
SimpleTypeStaxUnmarshallers.CharacterJsonUnmarshaller
Unmarshaller for Character values.
|
static class |
SimpleTypeStaxUnmarshallers.DateStaxUnmarshaller
Unmarshaller for Date values.
|
static class |
SimpleTypeStaxUnmarshallers.DateStaxUnmarshallerFactory |
static class |
SimpleTypeStaxUnmarshallers.DoubleStaxUnmarshaller
Unmarshaller for Double values.
|
static class |
SimpleTypeStaxUnmarshallers.FloatStaxUnmarshaller
Unmarshaller for Float values.
|
static class |
SimpleTypeStaxUnmarshallers.IntegerStaxUnmarshaller
Unmarshaller for Integer values.
|
static class |
SimpleTypeStaxUnmarshallers.LongStaxUnmarshaller
Unmarshaller for Long values.
|
static class |
SimpleTypeStaxUnmarshallers.ShortJsonUnmarshaller
Unmarshaller for Short values.
|
static class |
SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller
Unmarshaller for String values.
|
static class |
SimpleTypeUnmarshallers.BooleanUnmarshaller
Unmarshaller for Boolean values.
|
static class |
SimpleTypeUnmarshallers.ByteBufferUnmarshaller
Unmarshaller for ByteBuffer values.
|
static class |
SimpleTypeUnmarshallers.ByteUnmarshaller
Unmarshaller for Byte values.
|
static class |
SimpleTypeUnmarshallers.DateUnmarshaller
Unmarshaller for Date values.
|
static class |
SimpleTypeUnmarshallers.DoubleUnmarshaller
Unmarshaller for Double values.
|
static class |
SimpleTypeUnmarshallers.FloatUnmarshaller
Unmarshaller for Float values.
|
static class |
SimpleTypeUnmarshallers.IntegerUnmarshaller
Unmarshaller for Integer values.
|
static class |
SimpleTypeUnmarshallers.LongUnmarshaller
Unmarshaller for Long values.
|
static class |
SimpleTypeUnmarshallers.StringUnmarshaller
Unmarshaller for String values.
|
class |
StandardErrorUnmarshaller
Error unmarshaller that knows how to interpret a standard AWS error message
(i.e.
|
class |
UnknownMemberJsonUnmarshaller |
class |
VoidJsonUnmarshaller<T>
Simple unmarshaller that iterates through the JSON events but always
returns null.
|
class |
VoidStaxUnmarshaller<T>
Simple StAX unmarshaller that iterates through the XML events but always
returns null.
|
class |
VoidUnmarshaller
Simple Unmarshaller implementation that always returns null.
|
Modifier and Type | Method and Description |
---|---|
<T> Unmarshaller<T,JsonUnmarshallerContext> |
JsonUnmarshallerContextImpl.getUnmarshaller(Class<T> type) |
<T> Unmarshaller<T,JsonUnmarshallerContext> |
JsonUnmarshallerContext.getUnmarshaller(Class<T> type)
Returns the JsonUnmarshaller for the specified scalar type.
|
<T> Unmarshaller<T,JsonUnmarshallerContext> |
JsonUnmarshallerContextImpl.getUnmarshaller(Class<T> type,
JsonUnmarshallerContext.UnmarshallerType unmarshallerType) |
<T> Unmarshaller<T,JsonUnmarshallerContext> |
JsonUnmarshallerContext.getUnmarshaller(Class<T> type,
JsonUnmarshallerContext.UnmarshallerType unmarshallerType)
Returns the JsonUnmarshaller for requested custom unmarshaller type.
|
Constructor and Description |
---|
ListUnmarshaller(Unmarshaller<T,JsonUnmarshallerContext> itemUnmarshaller) |
MapUnmarshaller(Unmarshaller<K,JsonUnmarshallerContext> keyUnmarshaller,
Unmarshaller<V,JsonUnmarshallerContext> valueUnmarshaller) |
MapUnmarshaller(Unmarshaller<K,JsonUnmarshallerContext> keyUnmarshaller,
Unmarshaller<V,JsonUnmarshallerContext> valueUnmarshaller) |
Constructor and Description |
---|
JsonUnmarshallerContextImpl(com.fasterxml.jackson.core.JsonParser jsonParser,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> mapper,
HttpResponse httpResponse) |
JsonUnmarshallerContextImpl(com.fasterxml.jackson.core.JsonParser jsonParser,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> mapper,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customUnmarshallerMap,
HttpResponse httpResponse) |
JsonUnmarshallerContextImpl(com.fasterxml.jackson.core.JsonParser jsonParser,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> mapper,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customUnmarshallerMap,
HttpResponse httpResponse) |
Copyright © 2024. All rights reserved.