public interface CookieStore
Cookie
objects.Modifier and Type | Method and Description |
---|---|
void |
addCookie(Cookie cookie)
Adds an
Cookie , replacing any existing equivalent cookies. |
void |
clear()
Clears all cookies.
|
boolean |
clearExpired(Date date)
|
List<Cookie> |
getCookies()
Returns all cookies contained in this store.
|
void addCookie(Cookie cookie)
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 addedList<Cookie> getCookies()
boolean clearExpired(Date date)
void clear()
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.