CookieStore
| Modifier and Type | Field and Description |
|---|---|
| private final TreeSet | |
| private transient ReadWriteLock | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCookie(final Cookie
the cookie)cookie to be addedImplements org. HTTP cookie, replacing any existing equivalent cookies.
|
| public void | |
| public void | |
| public boolean | Returns: true if any cookies were purged.Implements org. cookies in this HTTP state
that have expired by the specified date.
|
| public boolean | Returns: true if any cookies were purged.Overrides default org. cookies in this HTTP state that have expired by the specified
date.
|
| public List | Returns: an array ofcookies.Implements org. cookies that this HTTP
state currently contains.
|
| private void | |
| public String |
| cookies | back to summary |
|---|---|
| private final TreeSet<Cookie> cookies | |
| lock | back to summary |
|---|---|
| private transient ReadWriteLock lock | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BasicCookieStore | back to summary |
|---|---|
| public BasicCookieStore() | |
| addCookie | back to summary |
|---|---|
| public void addCookie(final Cookie cookie) Implements org. Adds an
| |
| addCookies | back to summary |
|---|---|
| public void addCookies(final Cookie[] cookies) Adds an array of
| |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Clears all cookies.
| |
| clearExpired | back to summary |
|---|---|
| public boolean clearExpired(final Date date) Implements org. Removes all of
| |
| clearExpired | back to summary |
|---|---|
| public boolean clearExpired(final Instant instant) Overrides default org. Removes all of
| |
| getCookies | back to summary |
|---|---|
| public List Implements org. Returns an immutable array of | |
| readObject | back to summary |
|---|---|
| private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |