Package com.amazonaws.handlers
Interface RequestHandler
-
- All Known Implementing Classes:
AbstractRequestHandler,MessageMD5ChecksumHandler,QueueUrlHandler
@Deprecated public interface RequestHandler
Deprecated.byRequestHandler2. Interface for addition request handling in clients. A request handler is executed on a request object before it is sent to the client runtime to be executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidafterError(Request<?> request, Exception e)Deprecated.Runs any additional processing logic on a request after it has failed.voidafterResponse(Request<?> request, Object response, TimingInfo timingInfo)Deprecated.Runs any additional processing logic on the specified request (after is has been executed by the client runtime).voidbeforeRequest(Request<?> request)Deprecated.Runs any additional processing logic on the specified request (before it is executed by the client runtime).
-
-
-
Method Detail
-
beforeRequest
void beforeRequest(Request<?> request)
Deprecated.Runs any additional processing logic on the specified request (before it is executed by the client runtime).- Parameters:
request- The low level request being processed.
-
afterResponse
void afterResponse(Request<?> request, Object response, TimingInfo timingInfo)
Deprecated.Runs any additional processing logic on the specified request (after is has been executed by the client runtime).- Parameters:
request- The low level request being processed.response- The response generated from the specified request.timingInfo- Timing information on the request's processing.
-
-