com.liferay.portal.util
Class CookieKeys

java.lang.Object
  extended bycom.liferay.portal.util.CookieKeys

public class CookieKeys
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COOKIE_SUPPORT
           
static java.lang.String GUEST_LANGUAGE_ID
           
static java.lang.String ID
           
static java.lang.String LOGIN
           
static int MAX_AGE
           
static java.lang.String PASSWORD
           
static java.lang.String SCREEN_NAME
           
 
Constructor Summary
CookieKeys()
           
 
Method Summary
static void addCookie(javax.servlet.http.HttpServletResponse res, javax.servlet.http.Cookie cookie)
           
static void addSupportCookie(javax.servlet.http.HttpServletResponse res)
           
static void validateSupportCookie(javax.servlet.http.HttpServletRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COOKIE_SUPPORT

public static final java.lang.String COOKIE_SUPPORT
See Also:
Constant Field Values

GUEST_LANGUAGE_ID

public static final java.lang.String GUEST_LANGUAGE_ID
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values

LOGIN

public static final java.lang.String LOGIN
See Also:
Constant Field Values

PASSWORD

public static final java.lang.String PASSWORD
See Also:
Constant Field Values

SCREEN_NAME

public static final java.lang.String SCREEN_NAME
See Also:
Constant Field Values

MAX_AGE

public static final int MAX_AGE
See Also:
Constant Field Values
Constructor Detail

CookieKeys

public CookieKeys()
Method Detail

addCookie

public static void addCookie(javax.servlet.http.HttpServletResponse res,
                             javax.servlet.http.Cookie cookie)

addSupportCookie

public static void addSupportCookie(javax.servlet.http.HttpServletResponse res)

validateSupportCookie

public static void validateSupportCookie(javax.servlet.http.HttpServletRequest req)
                                  throws com.liferay.portal.CookieNotSupportedException
Throws:
com.liferay.portal.CookieNotSupportedException