| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echoservlet.CookieManager
public class CookieManager
A utility class used to cookies set by an application on the client browser.
 Applications may obtain access to this object by retrieving their
 ServerContext from their EchoInstance and calling
 ServerContext.getCookieManager().
| Constructor Summary | |
|---|---|
CookieManager()
 | 
|
| Method Summary | |
|---|---|
 void | 
add(javax.servlet.http.Cookie cookie)
Adds a new cookie or updates an existing one.  | 
 javax.servlet.http.Cookie | 
get(java.lang.String name)
Returns a cookie with the given name if it is exists or null if it does not.  | 
 java.util.Iterator | 
iterator()
Returns an iterator over all present cookies.  | 
 void | 
remove(java.lang.String name)
Removes the specified cookie.  | 
 int | 
size()
Returns the number of cookies present.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CookieManager()
| Method Detail | 
|---|
public void add(javax.servlet.http.Cookie cookie)
cookie - The cookie to add or update.public javax.servlet.http.Cookie get(java.lang.String name)
name - The name of the cookie to return.
name.public java.util.Iterator iterator()
public void remove(java.lang.String name)
name - The name of the cookie to remove.public int size()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||