java.lang.Object
org.cruk.clarity.api.debugging.HttpClientTimingAspect
Testing aspect that reports on the calls being made by the HTTP client
talking to the Clarity API. Reports on the URI being called and the
time the call took to execute.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionJoin point that, if the logging is set to DEBUG, will report on the call made with the HttpClient and the time taken to get a response.
-
Constructor Details
-
HttpClientTimingAspect
public HttpClientTimingAspect()
-
-
Method Details
-
timeCall
Join point that, if the logging is set to DEBUG, will report on the call made with the HttpClient and the time taken to get a response.- Parameters:
pjp
- The AspectJ join point object. One of the arguments in this object must be the HttpMethod being invoked.- Returns:
- The result of proceeding with the join point.
- Throws:
Throwable
- if there is any failure.- See Also:
-