public final class ClientSideMonitoringRequestHandler extends RequestHandler2
| Constructor and Description | 
|---|
| ClientSideMonitoringRequestHandler(String clientId,
                                  Collection<MonitoringListener> monitoringListeners) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterAttempt(HandlerAfterAttemptContext context)Runs any additional processing logic on a request after each individual attempt. | 
| void | afterError(Request<?> request,
          Response<?> response,
          Exception e)Runs any additional processing logic on a request after it has failed. | 
| void | afterResponse(Request<?> request,
             Response<?> response)Runs any additional processing logic on the specified request (after is has been executed by
 the client runtime). | 
adapt, beforeAttempt, beforeExecution, beforeMarshalling, beforeRequest, beforeUnmarshallingpublic ClientSideMonitoringRequestHandler(String clientId, Collection<MonitoringListener> monitoringListeners)
public void afterAttempt(HandlerAfterAttemptContext context)
IRequestHandler2afterAttempt in interface IRequestHandler2afterAttempt in class RequestHandler2context - container for the request as well as all possible results of the attemptpublic void afterResponse(Request<?> request, Response<?> response)
IRequestHandler2afterResponse in interface IRequestHandler2afterResponse in class RequestHandler2request - The low level request being processed.response - The response generated from the specified request.public void afterError(Request<?> request, Response<?> response, Exception e)
IRequestHandler2afterError in interface IRequestHandler2afterError in class RequestHandler2request - The request that generated an error.response - the response or null if the failure occurred before the response is made availablee - The error that resulted from executing the request.Copyright © 2021. All rights reserved.