public abstract class JsonErrorResponseHandler<ExceptionT extends SdkServiceException> extends Object implements HttpResponseHandler<ExceptionT>
X_AMZN_REQUEST_ID_HEADER
Constructor and Description |
---|
JsonErrorResponseHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract ExceptionT |
createUnknownException()
The default unmarshaller should always work but if it doesn't we fall back to creating an
exception explicitly.
|
protected String |
getRequestIdFromHeaders(Map<String,String> headers) |
protected ExceptionT |
safeUnmarshall(JsonContent jsonContent,
JsonErrorUnmarshaller<ExceptionT> unmarshaller) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle, needsConnectionLeftOpen
protected ExceptionT safeUnmarshall(JsonContent jsonContent, JsonErrorUnmarshaller<ExceptionT> unmarshaller)
protected abstract ExceptionT createUnknownException()
Copyright © 2018. All rights reserved.