    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.jigsaw.resources.ResourceFilter
                               |
                               +----w3c.jigsaw.contrib.CookieFilter

public class CookieFilter
extends ResourceFilter

A demo for how to use cookies from Jigsaw.

##

ATTR_COOKIE_MAXAGE
  Attribute index - The duration of the cookie.
NAME

##

CookieFilter()

##

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

##

NAME

      public final static String NAME

ATTR_COOKIE_MAXAGE

      protected static int ATTR_COOKIE_MAXAGE

  Attribute index - The duration of the cookie.

##

CookieFilter

      public CookieFilter()

##

getCookieMaxAge

      public int getCookieMaxAge()

  Get the cookie's allowed max age.
  Returns:
    The max allowed age in seconds.

ingoingFilter

      public Reply ingoingFilter(Request request)

  Simplified ingoingFilter API.
  Overrides:
    ingoingFilter in class ResourceFilter

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