com.astroshare.astroonline.core
Class PersistentCookie

java.lang.Object
  extended by javax.servlet.http.Cookie
      extended by com.astroshare.astroonline.core.PersistentCookie
All Implemented Interfaces:
java.lang.Cloneable

public class PersistentCookie
extends javax.servlet.http.Cookie

Class to handle persistent cookies.


Field Summary
protected static org.apache.log4j.Logger log
           
static int PERSISTENCE_IN_SECONDS
           This persistent cookies lives for one year.
 
Constructor Summary
PersistentCookie(java.lang.String cookieName, java.lang.String cookieValue)
           Constructor.
 
Method Summary
 
Methods inherited from class javax.servlet.http.Cookie
clone, getComment, getDomain, getMaxAge, getName, getPath, getSecure, getValue, getVersion, setComment, setDomain, setMaxAge, setPath, setSecure, setValue, setVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log

PERSISTENCE_IN_SECONDS

public static final int PERSISTENCE_IN_SECONDS

This persistent cookies lives for one year.

See Also:
Constant Field Values
Constructor Detail

PersistentCookie

public PersistentCookie(java.lang.String cookieName,
                        java.lang.String cookieValue)

Constructor.

Parameters:
cookieName - Cookie name
cookieValue - Cookie value


Astro-Online © 2001 − 2008 Astro Share
Documentation generated on: Thursday August 12th 2008 (PS)