juju.reattore.server.intercept.impl
Class StatInterceptor

java.lang.Object
  |
  +--juju.reattore.server.intercept.impl.VelocityInterceptor
        |
        +--juju.reattore.server.intercept.impl.StatInterceptor
All Implemented Interfaces:
Interceptor

public class StatInterceptor
extends VelocityInterceptor

Very simple statistics servlet. Adds 'stat' to the velocty context, which is a list of Stat objects.


Constructor Summary
StatInterceptor()
           
 
Method Summary
protected  boolean populateContext(org.apache.velocity.VelocityContext ctx, HttpRequest req, HttpResponse resp)
          Hook to allow a derrived class to add extra items to the context.
 
Methods inherited from class juju.reattore.server.intercept.impl.VelocityInterceptor
process, setLockedPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatInterceptor

public StatInterceptor()
Method Detail

populateContext

protected boolean populateContext(org.apache.velocity.VelocityContext ctx,
                                  HttpRequest req,
                                  HttpResponse resp)
Description copied from class: VelocityInterceptor
Hook to allow a derrived class to add extra items to the context.

Overrides:
populateContext in class VelocityInterceptor
Parameters:
ctx - Main context
req - Incoming request
resp - Outgoing response
Returns:
true if the request was handled and processing should abort.
See Also:
VelocityInterceptor


Copyright © 2002-2003 Michael Hope. All Rights Reserved.