Class AwsXmlResponseTransformer<T extends AwsResponse>
java.lang.Object
software.amazon.awssdk.protocols.xml.internal.unmarshall.AwsXmlResponseTransformer<T>
- All Implemented Interfaces:
Function<AwsXmlUnmarshallingContext,
T>
public final class AwsXmlResponseTransformer<T extends AwsResponse>
extends Object
implements Function<AwsXmlUnmarshallingContext,T>
A transformer function that takes a parsed XML response and converts it into an
AwsResponse
. Used
as a component in the AwsXmlPredicatedResponseHandler
.-
Constructor Summary
ConstructorsConstructorDescriptionAwsXmlResponseTransformer
(XmlProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse, SdkPojo> pojoSupplier) -
Method Summary
-
Constructor Details
-
AwsXmlResponseTransformer
public AwsXmlResponseTransformer(XmlProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse, SdkPojo> pojoSupplier)
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<AwsXmlUnmarshallingContext,
T extends AwsResponse>
-