public final class QueryProtocolUnmarshaller extends Object implements XmlErrorUnmarshaller
Modifier and Type | Class and Description |
---|---|
static class |
QueryProtocolUnmarshaller.Builder
Builder for
QueryProtocolUnmarshaller . |
Modifier and Type | Method and Description |
---|---|
static QueryProtocolUnmarshaller.Builder |
builder() |
<TypeT extends SdkPojo> |
unmarshall(SdkPojo sdkPojo,
SdkHttpFullResponse response) |
<TypeT extends SdkPojo> |
unmarshall(SdkPojo sdkPojo,
XmlElement resultRoot,
SdkHttpFullResponse response)
This method is also used to unmarshall exceptions.
|
public <TypeT extends SdkPojo> Pair<TypeT,Map<String,String>> unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response)
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, XmlElement resultRoot, SdkHttpFullResponse response)
unmarshall
in interface XmlErrorUnmarshaller
TypeT
- Type being unmarshalled.sdkPojo
- Builder for exception class to unmarshall.resultRoot
- Parsed XML document of response.response
- HTTP response.public static QueryProtocolUnmarshaller.Builder builder()
QueryProtocolUnmarshaller.Builder
instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.