Class WicketFilterRequestCycleUrlAspect
- java.lang.Object
-
- org.apache.wicket.metrics.WicketMetrics
-
- org.apache.wicket.metrics.aspects.request.WicketFilterRequestCycleUrlAspect
-
public class WicketFilterRequestCycleUrlAspect extends WicketMetrics
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
Constructors Constructor Description WicketFilterRequestCycleUrlAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aroundRequestProcessedWithURL(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 Detail
-
WicketFilterRequestCycleUrlAspect
public WicketFilterRequestCycleUrlAspect()
-
-
Method Detail
-
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
-
-