public interface CookieStore
HttpClient.getCookieStore()
Modifier and Type | Method and Description |
---|---|
boolean |
addCookie(Destination destination,
HttpCookie cookie)
Adds the given cookie to this store for the given destination.
|
void |
clear()
Removes all the cookies from this store.
|
List<HttpCookie> |
findCookies(Destination destination,
String path)
Returns the non-expired cookies that match the given destination and path,
recursively matching parent paths (for the same domain) and parent domains
(for the root path).
|
List<HttpCookie> findCookies(Destination destination, String path)
destination
- the destination representing the domainpath
- the request pathboolean addCookie(Destination destination, HttpCookie cookie)
destination
- the destination the cookie should belong tocookie
- the cookie to addvoid clear()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.