Table of Contents

Class JsonResponseUnmarshaller

Namespace
Amazon.Runtime.Internal.Transform
Assembly
AWSSDK.Core.dll

Class for unmarshalling JSON service responses.

public abstract class JsonResponseUnmarshaller : ResponseUnmarshaller, IResponseUnmarshaller<AmazonWebServiceResponse, UnmarshallerContext>, IUnmarshaller<AmazonWebServiceResponse, UnmarshallerContext>
Inheritance
JsonResponseUnmarshaller
Implements
Inherited Members

Constructors

JsonResponseUnmarshaller()

protected JsonResponseUnmarshaller()

Methods

ConstructUnmarshallerContext(Stream, bool, IWebResponseData, bool)

protected override UnmarshallerContext ConstructUnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData response, bool isException)

Parameters

responseStream Stream
maintainResponseBody bool
response IWebResponseData
isException bool

Returns

UnmarshallerContext

ConstructUnmarshallerContext(Stream, bool, IWebResponseData, bool, IRequestContext)

protected override UnmarshallerContext ConstructUnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData response, bool isException, IRequestContext requestContext)

Parameters

responseStream Stream
maintainResponseBody bool
response IWebResponseData
isException bool
requestContext IRequestContext

Returns

UnmarshallerContext

ShouldReadEntireResponse(IWebResponseData, bool)

protected override bool ShouldReadEntireResponse(IWebResponseData response, bool readEntireResponse)

Parameters

response IWebResponseData
readEntireResponse bool

Returns

bool

Unmarshall(JsonUnmarshallerContext)

public abstract AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext input)

Parameters

input JsonUnmarshallerContext

Returns

AmazonWebServiceResponse

Unmarshall(UnmarshallerContext)

public override AmazonWebServiceResponse Unmarshall(UnmarshallerContext input)

Parameters

input UnmarshallerContext

Returns

AmazonWebServiceResponse

UnmarshallException(JsonUnmarshallerContext, Exception, HttpStatusCode)

public abstract AmazonServiceException UnmarshallException(JsonUnmarshallerContext input, Exception innerException, HttpStatusCode statusCode)

Parameters

input JsonUnmarshallerContext
innerException Exception
statusCode HttpStatusCode

Returns

AmazonServiceException

UnmarshallException(UnmarshallerContext, Exception, HttpStatusCode)

public override AmazonServiceException UnmarshallException(UnmarshallerContext input, Exception innerException, HttpStatusCode statusCode)

Parameters

input UnmarshallerContext
innerException Exception
statusCode HttpStatusCode

Returns

AmazonServiceException