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
responseStream
StreammaintainResponseBody
boolresponse
IWebResponseDataisException
bool
Returns
ConstructUnmarshallerContext(Stream, bool, IWebResponseData, bool, IRequestContext)
protected override UnmarshallerContext ConstructUnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData response, bool isException, IRequestContext requestContext)
Parameters
responseStream
StreammaintainResponseBody
boolresponse
IWebResponseDataisException
boolrequestContext
IRequestContext
Returns
Unmarshall(UnmarshallerContext)
public override AmazonWebServiceResponse Unmarshall(UnmarshallerContext input)
Parameters
input
UnmarshallerContext
Returns
Unmarshall(XmlUnmarshallerContext)
public abstract AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext input)
Parameters
input
XmlUnmarshallerContext
Returns
UnmarshallException(UnmarshallerContext, Exception, HttpStatusCode)
public override AmazonServiceException UnmarshallException(UnmarshallerContext input, Exception innerException, HttpStatusCode statusCode)
Parameters
input
UnmarshallerContextinnerException
ExceptionstatusCode
HttpStatusCode
Returns
UnmarshallException(XmlUnmarshallerContext, Exception, HttpStatusCode)
public abstract AmazonServiceException UnmarshallException(XmlUnmarshallerContext input, Exception innerException, HttpStatusCode statusCode)
Parameters
input
XmlUnmarshallerContextinnerException
ExceptionstatusCode
HttpStatusCode