Class QueryProtocolUnmarshaller
java.lang.Object
software.amazon.awssdk.protocols.query.internal.unmarshall.QueryProtocolUnmarshaller
- All Implemented Interfaces:
- XmlErrorUnmarshaller
@SdkInternalApi
public final class QueryProtocolUnmarshaller
extends Object
implements XmlErrorUnmarshaller
Unmarshaller implementation for AWS/Query and EC2 services.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response) <TypeT extends SdkPojo>
 TypeTunmarshall(SdkPojo sdkPojo, XmlElement resultRoot, SdkHttpFullResponse response) This method is also used to unmarshall exceptions.
- 
Method Details- 
unmarshall
- 
unmarshallpublic <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, XmlElement resultRoot, SdkHttpFullResponse response) This method is also used to unmarshall exceptions. We use this since we've already parsed the XML and the result root is in a different location depending on the protocol/service.- Specified by:
- unmarshallin interface- XmlErrorUnmarshaller
- Type Parameters:
- TypeT- Type being unmarshalled.
- Parameters:
- sdkPojo- Builder for exception class to unmarshall.
- resultRoot- Parsed XML document of response.
- response- HTTP response.
- Returns:
- Unmarshalled exception
 
- 
builder- Returns:
- New QueryProtocolUnmarshaller.Builderinstance.
 
 
-