Package com.amazonaws.handlers
Interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
public interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
Callback interface for notification on web service requests executed with the
asynchronous clients in the AWS SDK for Java.
-
Method Summary
-
Method Details
-
onError
Invoked after an asynchronous request- Parameters:
exception
-
-
onSuccess
Invoked after an asynchronous request has completed successfully. Callers have access to the original request object and the returned response object.- Parameters:
request
- The initial request created by the callerresult
- The successful result of the executed operation.
-