RequestHandler2.
 Simple implementation of RequestHandler to stub out required methods.
@Deprecated public abstract class AbstractRequestHandler extends Object implements RequestHandler
| Constructor and Description | 
|---|
| AbstractRequestHandler()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | 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). | 
public void beforeRequest(Request<?> request)
RequestHandlerbeforeRequest in interface RequestHandlerrequest - The low level request being processed.public void afterResponse(Request<?> request, Object response, TimingInfo timingInfo)
RequestHandlerafterResponse in interface RequestHandlerrequest - 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)
RequestHandlerafterError in interface RequestHandlerrequest - The request that generated an error.e - The error that resulted from executing the request.Copyright © 2024. All rights reserved.