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 anAwsResponse. Used as a component in theAwsXmlPredicatedResponseHandler.
-
-
Constructor Summary
Constructors Constructor Description AwsXmlResponseTransformer(XmlProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse,SdkPojo> pojoSupplier)
-
-
-
Constructor Detail
-
AwsXmlResponseTransformer
public AwsXmlResponseTransformer(XmlProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse,SdkPojo> pojoSupplier)
-
-
Method Detail
-
apply
public T apply(AwsXmlUnmarshallingContext context)
- Specified by:
applyin interfaceFunction<AwsXmlUnmarshallingContext,T extends AwsResponse>
-
-