com.pmease.quickbuild.util
Class CookieUtils

java.lang.Object
  extended by com.pmease.quickbuild.util.CookieUtils

public class CookieUtils
extends java.lang.Object


Field Summary
static int COOKIE_MAXAGE
           
 
Constructor Summary
CookieUtils()
           
 
Method Summary
static java.lang.String getCookieValue(javax.servlet.http.HttpServletRequest request, java.lang.String cookieName)
           
static void removeCookie(javax.servlet.http.HttpServletResponse response, java.lang.String cookieName)
           
static void saveCookie(javax.servlet.http.HttpServletResponse response, java.lang.String cookieName, java.lang.String cookieValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COOKIE_MAXAGE

public static final int COOKIE_MAXAGE
Constructor Detail

CookieUtils

public CookieUtils()
Method Detail

getCookieValue

public static java.lang.String getCookieValue(javax.servlet.http.HttpServletRequest request,
                                              java.lang.String cookieName)

removeCookie

public static void removeCookie(javax.servlet.http.HttpServletResponse response,
                                java.lang.String cookieName)

saveCookie

public static void saveCookie(javax.servlet.http.HttpServletResponse response,
                              java.lang.String cookieName,
                              java.lang.String cookieValue)


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.