Class AwsXmlResponseHandler<T>
- java.lang.Object
-
- software.amazon.awssdk.protocols.xml.internal.unmarshall.AwsXmlResponseHandler<T>
-
- Type Parameters:
T- Indicates the type being unmarshalled by this response handler.
- All Implemented Interfaces:
HttpResponseHandler<T>
public final class AwsXmlResponseHandler<T> extends Object implements HttpResponseHandler<T>
Response handler that addsAwsResponseMetadatato the response.
-
-
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 AwsXmlResponseHandler(HttpResponseHandler<T> responseHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Thandle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes)booleanneedsConnectionLeftOpen()
-
-
-
Constructor Detail
-
AwsXmlResponseHandler
public AwsXmlResponseHandler(HttpResponseHandler<T> responseHandler)
-
-
Method Detail
-
handle
public T handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) throws Exception
- Specified by:
handlein interfaceHttpResponseHandler<T>- Throws:
Exception
-
needsConnectionLeftOpen
public boolean needsConnectionLeftOpen()
- Specified by:
needsConnectionLeftOpenin interfaceHttpResponseHandler<T>
-
-