Package com.amazonaws.handlers
Class AbstractRequestHandler
java.lang.Object
com.amazonaws.handlers.AbstractRequestHandler
- All Implemented Interfaces:
RequestHandler
- Direct Known Subclasses:
MessageMD5ChecksumHandler
,QueueUrlHandler
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterError
(Request<?> request, Exception e) Deprecated.Runs any additional processing logic on a request after it has failed.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).void
beforeRequest
(Request<?> request) Deprecated.Runs any additional processing logic on the specified request (before it is executed by the client runtime).
-
Constructor Details
-
AbstractRequestHandler
public AbstractRequestHandler()Deprecated.
-
-
Method Details
-
beforeRequest
Deprecated.Description copied from interface:RequestHandler
Runs any additional processing logic on the specified request (before it is executed by the client runtime).- Specified by:
beforeRequest
in interfaceRequestHandler
- Parameters:
request
- The low level request being processed.
-
afterResponse
Deprecated.Description copied from interface:RequestHandler
Runs any additional processing logic on the specified request (after is has been executed by the client runtime).- Specified by:
afterResponse
in 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
Deprecated.Description copied from interface:RequestHandler
Runs any additional processing logic on a request after it has failed.- Specified by:
afterError
in interfaceRequestHandler
- Parameters:
request
- The request that generated an error.e
- The error that resulted from executing the request.
-
RequestHandler2
.Simple implementation of RequestHandler to stub out required methods.