Class XmlResponseHandler<T extends SdkPojo>
- java.lang.Object
-
- software.amazon.awssdk.protocols.xml.internal.unmarshall.XmlResponseHandler<T>
-
- Type Parameters:
T- Indicates the type being unmarshalled by this response handler.
- All Implemented Interfaces:
HttpResponseHandler<T>
public final class XmlResponseHandler<T extends SdkPojo> extends Object implements HttpResponseHandler<T>
Response handler for REST-XML services (Cloudfront, Route53, and S3).
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.core.http.HttpResponseHandler
X_AMZ_ID_2_HEADER, X_AMZN_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER_ALTERNATE, X_AMZN_REQUEST_ID_HEADERS
-
-
Constructor Summary
Constructors Constructor Description XmlResponseHandler(XmlProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse,SdkPojo> pojoSupplier, boolean needsConnectionLeftOpen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Thandle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes)booleanneedsConnectionLeftOpen()
-
-
-
Constructor Detail
-
XmlResponseHandler
public XmlResponseHandler(XmlProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse,SdkPojo> pojoSupplier, boolean needsConnectionLeftOpen)
-
-
Method Detail
-
handle
public T handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) throws Exception
- Specified by:
handlein interfaceHttpResponseHandler<T extends SdkPojo>- Throws:
Exception
-
needsConnectionLeftOpen
public boolean needsConnectionLeftOpen()
- Specified by:
needsConnectionLeftOpenin interfaceHttpResponseHandler<T extends SdkPojo>
-
-