public void afterAttempt(
Runs any additional processing logic on a request after each individual attempt. Callback is
invoked whether or not the attempt resulted in a successful response or an error. This callback
is invoked within a finally block and so any exceptions it generates will "replace" the current
exception, if one is outstanding.
context - container for the request as well as all possible results of the attempt
public void afterResponse(
Runs any additional processing logic on the specified request (after is has been executed by
the client runtime).
request - The low level request being processed.
response - The response generated from the specified request.
public void afterError(
Runs any additional processing logic on a request after it has failed. This callback is invoked
from a catch block. If it generates an exception, the original AmazonClientException will be lost.
request - The request that generated an error.
response - the response or null if the failure occurred before the response is made available
e - The error that resulted from executing the request.
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.