public final class AwsJsonResponseHandler<T> extends Object implements HttpResponseHandler<T>
X_AMZ_ID_2_HEADER, X_AMZN_REQUEST_ID_HEADER| Constructor and Description |
|---|
AwsJsonResponseHandler(HttpResponseHandler<T> responseHandler) |
| Modifier and Type | Method and Description |
|---|---|
T |
handle(SdkHttpFullResponse response,
ExecutionAttributes executionAttributes)
Accepts an HTTP response object, and returns an object of type T.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitneedsConnectionLeftOpenpublic AwsJsonResponseHandler(HttpResponseHandler<T> responseHandler)
public T handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) throws Exception
HttpResponseHandlerhandle in interface HttpResponseHandler<T>response - The HTTP response to handle, as received from an AWS service.executionAttributes - The attributes attached to this particular execution.Exception - If any problems are encountered handling the response.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.