    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.filters.SimpleCacheFilter

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

public class SimpleCacheFilter
extends ResourceFilter

##

ATTR_DEFAULT_MAX_AGE
ATTR_FLUSH
ATTR_MAX_ENTRIES
ATTR_MAX_SIZE
cache
STATE_TAG

##

SimpleCacheFilter()

##

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

##

cache

      protected SimpleCache cache

STATE_TAG

      protected final static String STATE_TAG

ATTR_MAX_SIZE

      protected static int ATTR_MAX_SIZE

ATTR_MAX_ENTRIES

      protected static int ATTR_MAX_ENTRIES

ATTR_DEFAULT_MAX_AGE

      protected static int ATTR_DEFAULT_MAX_AGE

ATTR_FLUSH

      protected static int ATTR_FLUSH

##

SimpleCacheFilter

      public SimpleCacheFilter()

##

getMaxSize

      public int getMaxSize()

getMaxEntries

      public int getMaxEntries()

getDefaultMaxAge

      public int getDefaultMaxAge()

getFlushFlag

      public boolean getFlushFlag()

ingoingFilter

      public Reply ingoingFilter(Request request,
                                 HTTPFilter filters[],
                                 int fidx) throws HTTPException

  The ingoingFilter method.
  Overrides:
    ingoingFilter in class ResourceFilter

outgoingFilter

      public Reply outgoingFilter(Request request,
                                  Reply reply,
                                  HTTPFilter filters[],
                                  int fidx) throws HTTPException

  The outgoingFilter method.
  Overrides:
    outgoingFilter in class ResourceFilter

initialize

      public void initialize(Object values[])

  Initialize the filter.
  Overrides:
    initialize in class ResourceFilter

    All Packages  Class Hierarchy  This Package  Previous  Next  Index