Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

juju.reattore.server.intercept.impl
Class StatInterceptor  view StatInterceptor download StatInterceptor.java

java.lang.Object
  extended byjuju.reattore.server.intercept.impl.VelocityInterceptor
      extended byjuju.reattore.server.intercept.impl.StatInterceptor
All Implemented Interfaces:
juju.reattore.server.intercept.Interceptor

public class StatInterceptor
extends VelocityInterceptor

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


Field Summary
 
Fields inherited from class juju.reattore.server.intercept.impl.VelocityInterceptor
 
Constructor Summary
StatInterceptor()
           
 
Method Summary
protected  boolean populateContext(org.apache.velocity.VelocityContext ctx, juju.reattore.protocol.http.HttpRequest req, juju.reattore.protocol.http.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,
                                  juju.reattore.protocol.http.HttpRequest req,
                                  juju.reattore.protocol.http.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