All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.jigsaw.filters.CookieFilter
java.lang.Object
|
+----org.w3c.tools.resources.AttributeHolder
|
+----org.w3c.tools.resources.Resource
|
+----org.w3c.tools.resources.FramedResource
|
+----org.w3c.tools.resources.ResourceFrame
|
+----org.w3c.tools.resources.ResourceFilter
|
+----org.w3c.jigsaw.filters.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(RequestInterface)
- Simplified ingoingFilter API.
-
outgoingFilter(RequestInterface, ReplyInterface)
- Simplified API to the outgoing filter metho.
NAME
public static final 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 ReplyInterface ingoingFilter(RequestInterface request) throws ProtocolException
- Simplified ingoingFilter API.
- Overrides:
- ingoingFilter in class ResourceFilter
outgoingFilter
public ReplyInterface outgoingFilter(RequestInterface req,
ReplyInterface rep) throws ProtocolException
- Simplified API to the outgoing filter metho.
- Overrides:
- outgoingFilter in class ResourceFilter
All Packages Class Hierarchy This Package Previous Next Index