All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.filters.SimpleCacheFilter

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.tools.store.ResourceFrame
                           |
                           +----w3c.jigsaw.resources.ResourceFilter
                                   |
                                   +----w3c.jigsaw.filters.SimpleCacheFilter

public class SimpleCacheFilter
extends ResourceFilter

Variable Index

 o ATTR_DEFAULT_MAX_AGE
 o ATTR_FLUSH
 o ATTR_MAX_ENTRIES
 o ATTR_MAX_SIZE
 o cache
 o STATE_TAG

Constructor Index

 o SimpleCacheFilter()

Method Index

 o getDefaultMaxAge()
 o getFlushFlag()
 o getMaxEntries()
 o getMaxSize()
 o ingoingFilter(Request, HTTPFilter[], int)
The ingoingFilter method.
 o initialize(Object[])
Initialize the filter.
 o outgoingFilter(Request, Reply, HTTPFilter[], int)
The outgoingFilter method.

Variables

 o cache
 protected SimpleCache cache
 o STATE_TAG
 protected static final String STATE_TAG
 o ATTR_MAX_SIZE
 protected static int ATTR_MAX_SIZE
 o ATTR_MAX_ENTRIES
 protected static int ATTR_MAX_ENTRIES
 o ATTR_DEFAULT_MAX_AGE
 protected static int ATTR_DEFAULT_MAX_AGE
 o ATTR_FLUSH
 protected static int ATTR_FLUSH

Constructors

 o SimpleCacheFilter
 public SimpleCacheFilter()

Methods

 o getMaxSize
 public int getMaxSize()
 o getMaxEntries
 public int getMaxEntries()
 o getDefaultMaxAge
 public int getDefaultMaxAge()
 o getFlushFlag
 public boolean getFlushFlag()
 o ingoingFilter
 public Reply ingoingFilter(Request request,
                            HTTPFilter filters[],
                            int fidx) throws HTTPException
The ingoingFilter method.

Overrides:
ingoingFilter in class ResourceFilter
 o outgoingFilter
 public Reply outgoingFilter(Request request,
                             Reply reply,
                             HTTPFilter filters[],
                             int fidx) throws HTTPException
The outgoingFilter method.

Overrides:
outgoingFilter in class ResourceFilter
 o initialize
 public void initialize(Object values[])
Initialize the filter.

Overrides:
initialize in class ResourceFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index