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>
@SdkInternalApi
public final class AwsXmlResponseHandler<T>
extends Object
implements HttpResponseHandler<T>
Response handler that adds
AwsResponseMetadata to 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 -
Method Summary
Modifier and TypeMethodDescriptionhandle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) boolean
-
Constructor Details
-
AwsXmlResponseHandler
-
-
Method Details
-
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>
-