Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.protocol.json | |
com.amazonaws.transform |
Constructor and Description |
---|
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.
|
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> JsonResponseHandler<T> |
SdkStructuredJsonFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successfull response.
|
<T> JsonResponseHandler<T> |
SdkStructuredJsonFactoryImpl.createResponseHandler(JsonOperationMetadata operationMetadata,
Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller) |
<T> HttpResponseHandler<AmazonWebServiceResponse<T>> |
SdkJsonProtocolFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
Unmarshaller<T,JsonUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successful 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 | 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 © 2021. All rights reserved.