|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.llnl.babel.url.cookie.CookieJar
CookieJar is a container for HTTP Cookie's. This container
manages cookie expiration and determining which cookies are relevant to
a particular URL.
| Constructor Summary | |
CookieJar()
|
|
| Method Summary | |
void |
add(Cookie c)
Add a cookie to the jar. |
java.util.Iterator |
getRelevantCookies(java.lang.String hostname,
java.lang.String path,
int port)
Select and return cookies from this jar that are appropriate for the hostname, path and port given. |
void |
removeExpired()
Remove stale cookies from the jar. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CookieJar()
| Method Detail |
public void add(Cookie c)
public java.util.Iterator getRelevantCookies(java.lang.String hostname,
java.lang.String path,
int port)
public void removeExpired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||