|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.handlers.AbstractRequestHandler
public abstract class AbstractRequestHandler
Simple implementation of RequestHandler to stub out required methods.
Constructor Summary | |
---|---|
AbstractRequestHandler()
|
Method Summary | |
---|---|
void |
afterError(Request<?> request,
Exception e)
Runs any additional processing logic on a request after it has failed. |
void |
afterResponse(Request<?> request,
Object response,
com.amazonaws.util.TimingInfo timingInfo)
Runs any additional processing logic on the specified request (after is has been executed by the client runtime). |
void |
beforeRequest(Request<?> request)
Runs any additional processing logic on the specified request (before it is executed by the client runtime). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRequestHandler()
Method Detail |
---|
public void beforeRequest(Request<?> request)
RequestHandler
beforeRequest
in interface RequestHandler
request
- The low level request being processed.public void afterResponse(Request<?> request, Object response, com.amazonaws.util.TimingInfo timingInfo)
RequestHandler
afterResponse
in interface RequestHandler
request
- The low level request being processed.response
- The response generated from the specified request.timingInfo
- Timing information on the request's processing.public void afterError(Request<?> request, Exception e)
RequestHandler
afterError
in interface RequestHandler
request
- The request that generated an error.e
- The error that resulted from executing the request.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |