|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectshared.CookieUtil
public class CookieUtil
A utility class to find cookies by name and return either the cookie or the value of the cookie.
| Constructor Summary | |
|---|---|
CookieUtil()
|
|
| Method Summary | |
|---|---|
static javax.servlet.http.Cookie |
findCookie(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Search for a cookie with the given name. |
static java.lang.String |
findCookieValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Search for a cookie with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieUtil()
| Method Detail |
|---|
public static javax.servlet.http.Cookie findCookie(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
request - Request information encapsulated in a Java objectname - The name of the cookie to find
public static java.lang.String findCookieValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
request - Request information encapsulated in a Java objectname - The name of the cookie to find
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||