Module org.apache.wicket.metrics
Class WicketFilterRequestCycleUrlAspect
java.lang.Object
org.apache.wicket.metrics.WicketMetrics
org.apache.wicket.metrics.aspects.request.WicketFilterRequestCycleUrlAspect
Aspect to measure request url time
- Author:
- Tobias Soloschenko
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.metrics.WicketMetrics
WicketMetrics.CounterOperation
-
Field Summary
Fields inherited from class org.apache.wicket.metrics.WicketMetrics
METRIC_REGISTRY, METRIC_SETTINGS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaroundRequestProcessedWithURL
(org.aspectj.lang.ProceedingJoinPoint joinPoint) Collects data how often a request has been made against the webapp and counts the time how long the request took.Methods inherited from class org.apache.wicket.metrics.WicketMetrics
count, getFilterName, getMetricRegistry, getSettings, mark, measureTime, measureTime, renderClassName, setFilterName, stopQuietly
-
Constructor Details
-
WicketFilterRequestCycleUrlAspect
public WicketFilterRequestCycleUrlAspect()
-
-
Method Details
-
aroundRequestProcessedWithURL
public Object aroundRequestProcessedWithURL(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws Throwable Collects data how often a request has been made against the webapp and counts the time how long the request took. Measures the information with the request url- Parameters:
joinPoint
- the joinPoint to be proceed- Returns:
- returns the boolean of the processRequest method
- Throws:
Throwable
- might occur while invoking process request
-