Class w3c.jigsaw.filters.CounterFilter
All Packages Class Hierarchy This Package Previous Next Index
Class w3c.jigsaw.filters.CounterFilter
java.lang.Object
|
+----w3c.jigsaw.resources.AttributeHolder
|
+----w3c.jigsaw.resources.Resource
|
+----w3c.jigsaw.resources.ResourceFilter
|
+----w3c.jigsaw.filters.CounterFilter
- public class CounterFilter
- extends ResourceFilter
Count the number of hits to the target.
This resource maintains the number of hits to some target resource, as
one of its persistent attribute.
-
ATTR_COUNTER
- Attribute index - The counter attribute.
-
CounterFilter()
-
-
ingoingFilter(Request)
- We count all accesses, even the one that failed.
ATTR_COUNTER
protected static int ATTR_COUNTER
- Attribute index - The counter attribute.
CounterFilter
public CounterFilter()
ingoingFilter
public synchronized int ingoingFilter(Request request)
- We count all accesses, even the one that failed.
- Parameters:
- request - The request being processed.
- Overrides:
- ingoingFilter in class ResourceFilter
All Packages Class Hierarchy This Package Previous Next Index