Package com.amazonaws.handlers
Class AbstractRequestHandler
- java.lang.Object
-
- com.amazonaws.handlers.AbstractRequestHandler
-
- All Implemented Interfaces:
RequestHandler
- Direct Known Subclasses:
MessageMD5ChecksumHandler,QueueUrlHandler
@Deprecated public abstract class AbstractRequestHandler extends Object implements RequestHandler
Deprecated.byRequestHandler2.Simple implementation of RequestHandler to stub out required methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractRequestHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete 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
public void beforeRequest(Request<?> request)
Deprecated.Description copied from interface:RequestHandlerRuns any additional processing logic on the specified request (before it is executed by the client runtime).- Specified by:
beforeRequestin interfaceRequestHandler- Parameters:
request- The low level request being processed.
-
afterResponse
public void afterResponse(Request<?> request, Object response, TimingInfo timingInfo)
Deprecated.Description copied from interface:RequestHandlerRuns any additional processing logic on the specified request (after is has been executed by the client runtime).- Specified by:
afterResponsein interfaceRequestHandler- Parameters:
request- The low level request being processed.response- The response generated from the specified request.timingInfo- Timing information on the request's processing.
-
afterError
public void afterError(Request<?> request, Exception e)
Deprecated.Description copied from interface:RequestHandlerRuns any additional processing logic on a request after it has failed.- Specified by:
afterErrorin interfaceRequestHandler- Parameters:
request- The request that generated an error.e- The error that resulted from executing the request.
-
-