@ThreadSafe public class SdkJsonProtocolFactory extends Object
| Constructor and Description | 
|---|
| SdkJsonProtocolFactory(JsonClientMetadata metadata) | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpResponseHandler<AmazonServiceException> | createErrorResponseHandler(JsonErrorResponseMetadata errorResponsMetadata)Returns the error response handler for handling a error response. | 
| StructuredJsonGenerator | createGenerator()Returns the  SdkJsonGeneratorto be used for marshalling the request. | 
| <T> HttpResponseHandler<AmazonWebServiceResponse<T>> | createResponseHandler(JsonOperationMetadata operationMetadata,
                     com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.JsonUnmarshallerContext> responseUnmarshaller)Returns the response handler to be used for handling a successfull response. | 
| String | getContentType() | 
public SdkJsonProtocolFactory(JsonClientMetadata metadata)
public StructuredJsonGenerator createGenerator()
SdkJsonGenerator to be used for marshalling the request.public <T> HttpResponseHandler<AmazonWebServiceResponse<T>> createResponseHandler(JsonOperationMetadata operationMetadata, com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.JsonUnmarshallerContext> responseUnmarshaller)
operationMetadata - Additional context information about an operation to create the
                          appropriate response handler.public HttpResponseHandler<AmazonServiceException> createErrorResponseHandler(JsonErrorResponseMetadata errorResponsMetadata)
public String getContentType()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.