|Constructor and Description|
|Modifier and Type||Method and Description|
Runs any additional processing logic on a request after it has failed.
Runs any additional processing logic on the specified request (after is has been executed by the client runtime).
Runs any additional processing logic on the specified request object before it is marshaled into an HTTP request.
Runs any additional processing logic on the specified request (before it is executed by the client runtime).
adapt, afterAttempt, beforeAttempt, beforeExecution, beforeUnmarshalling
public AmazonWebServiceRequest beforeMarshalling(AmazonWebServiceRequest request)
Warning: Modifications to this message will leak out to the user, who might reuse the request
object without realizing that it was modified as part of sending it the first time. For this
reason, we recommend that you only modify the request in the
method. If you require data that is not available in that method, you should create a
AmazonWebServiceRequest.clone() of the request (which performs a deep copy of the
handler context map), add any context data you require in the
AmazonWebServiceRequest.addHandlerContext(HandlerContextKey, Object), and
return your cloned message from this method. You can then extract that data for use in the
public void beforeRequest(Request<?> request)
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.