public interface RequestHandler
| Modifier and Type | Method and Description |
|---|---|
void |
afterError(Request request,
java.lang.Exception ex)
Runs any additional processing logic on a request after it has failed.
|
void |
afterResponse(Request request,
java.lang.Object response)
Runs any additional processing logic on the specified request.
|
void |
beforeRequest(Request request)
Runs any additional processing logic on the specified request.
|
void beforeRequest(Request request)
request - the low level request being processed.void afterResponse(Request request, java.lang.Object response)
request - the low level request being processed.response - the response generated from the specified request.void afterError(Request request, java.lang.Exception ex)
request - the request that generated an error.ex - The error that resulted from executing the request.