java.lang.Object | |
↳ | org.apache.http.impl.client.BasicCookieStore |
Default implementation of CookieStore
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an
HTTP cookie , replacing any existing equivalent cookies. | |||||||||||
Adds an array of
HTTP cookies . | |||||||||||
Clears all cookies.
| |||||||||||
Returns an immutable array of
cookies that this HTTP
state currently contains. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.client.CookieStore
|
Adds an 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 added |
---|
Adds an array of HTTP cookies
. Cookies are added individually and
in the given array order. If any of the given cookies has already expired it will
not be added, but existing values will still be removed.
cookies | the cookies to be added |
---|