Class XmlResponseUnmarshaller
Class for unmarshalling XML service responses.
public abstract class XmlResponseUnmarshaller : ResponseUnmarshaller, IResponseUnmarshaller<AmazonWebServiceResponse, UnmarshallerContext>, IUnmarshaller<AmazonWebServiceResponse, UnmarshallerContext>
- Inheritance
-
XmlResponseUnmarshaller
- Implements
- Derived
- Inherited Members
Constructors
XmlResponseUnmarshaller()
protected XmlResponseUnmarshaller()
Methods
ConstructUnmarshallerContext(Stream, bool, IWebResponseData, bool)
protected override UnmarshallerContext ConstructUnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData response, bool isException)
Parameters
responseStreamStreammaintainResponseBodyboolresponseIWebResponseDataisExceptionbool
Returns
ConstructUnmarshallerContext(Stream, bool, IWebResponseData, bool, IRequestContext)
protected override UnmarshallerContext ConstructUnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData response, bool isException, IRequestContext requestContext)
Parameters
responseStreamStreammaintainResponseBodyboolresponseIWebResponseDataisExceptionboolrequestContextIRequestContext
Returns
Unmarshall(UnmarshallerContext)
public override AmazonWebServiceResponse Unmarshall(UnmarshallerContext input)
Parameters
inputUnmarshallerContext
Returns
Unmarshall(XmlUnmarshallerContext)
public abstract AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext input)
Parameters
inputXmlUnmarshallerContext
Returns
UnmarshallException(UnmarshallerContext, Exception, HttpStatusCode)
public override AmazonServiceException UnmarshallException(UnmarshallerContext input, Exception innerException, HttpStatusCode statusCode)
Parameters
inputUnmarshallerContextinnerExceptionExceptionstatusCodeHttpStatusCode
Returns
UnmarshallException(XmlUnmarshallerContext, Exception, HttpStatusCode)
public abstract AmazonServiceException UnmarshallException(XmlUnmarshallerContext input, Exception innerException, HttpStatusCode statusCode)
Parameters
inputXmlUnmarshallerContextinnerExceptionExceptionstatusCodeHttpStatusCode