All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.contrib.CookieFilter

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

public class CookieFilter
extends ResourceFilter
A demo for how to use cookies from Jigsaw.


Variable Index

 o ATTR_COOKIE_MAXAGE
Attribute index - The duration of the cookie.
 o NAME

Constructor Index

 o CookieFilter()

Method Index

 o getCookieMaxAge()
Get the cookie's allowed max age.
 o ingoingFilter(Request)
Simplified ingoingFilter API.
 o outgoingFilter(Request, Reply)
Simplified API to the outgoing filter metho.

Variables

 o NAME
 public static final String NAME
 o ATTR_COOKIE_MAXAGE
 protected static int ATTR_COOKIE_MAXAGE
Attribute index - The duration of the cookie.

Constructors

 o CookieFilter
 public CookieFilter()

Methods

 o getCookieMaxAge
 public int getCookieMaxAge()
Get the cookie's allowed max age.

Returns:
The max allowed age in seconds.
 o ingoingFilter
 public Reply ingoingFilter(Request request)
Simplified ingoingFilter API.

Overrides:
ingoingFilter in class ResourceFilter
 o outgoingFilter
 public Reply outgoingFilter(Request request,
                             Reply reply)
Simplified API to the outgoing filter metho.

Overrides:
outgoingFilter in class ResourceFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index