|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CookieStore
Abstract cookie store.
Method Summary | |
---|---|
void |
addCookie(Cookie cookie)
Adds an HTTP cookie , replacing any existing equivalent cookies. |
void |
clear()
Clears all cookies. |
boolean |
clearExpired(java.util.Date date)
Removes all of cookies in this store that have expired by
the specified date . |
java.util.List<Cookie> |
getCookies()
Returns all cookies contained in this store. |
Method Detail |
---|
void addCookie(Cookie cookie)
HTTP cookie
, replacing any existing equivalent cookies.
If the given cookie has already expired it will not be added, but existing
values will still be removed.
cookie
- the cookie
to be addedjava.util.List<Cookie> getCookies()
boolean clearExpired(java.util.Date date)
cookies
in this store that have expired by
the specified date
.
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |