|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RequestHandler2
.
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.
@Deprecated public interface RequestHandler
Method Summary | |
---|---|
void |
afterError(Request<?> request,
java.lang.Exception e)
Deprecated. Runs any additional processing logic on a request after it has failed. |
void |
afterResponse(Request<?> request,
java.lang.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). |
Method Detail |
---|
void beforeRequest(Request<?> request)
request
- The low level request being processed.void afterResponse(Request<?> request, java.lang.Object response, TimingInfo timingInfo)
request
- The low level request being processed.response
- The response generated from the specified request.timingInfo
- Timing information on the request's processing.void afterError(Request<?> request, java.lang.Exception e)
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 |