public class ClientCookieStore extends Object implements CookieStore
| Constructor and Description |
|---|
ClientCookieStore(CookieStore cookieStore,
File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(URI uri,
HttpCookie cookie) |
List<HttpCookie> |
get(URI uri) |
List<HttpCookie> |
getCookies() |
URI |
getStaticURI() |
List<URI> |
getURIs() |
void |
load()
Load the persisted cookies into the CookieStore.
|
boolean |
remove(URI uri,
HttpCookie cookie) |
boolean |
removeAll() |
void |
store()
Store the cookies in the CookieStore to the provided location.
|
boolean |
touchStore() |
protected URI uri
public ClientCookieStore(CookieStore cookieStore, File file)
public void add(URI uri, HttpCookie cookie)
add in interface CookieStorepublic List<HttpCookie> get(URI uri)
get in interface CookieStorepublic List<HttpCookie> getCookies()
getCookies in interface CookieStorepublic List<URI> getURIs()
getURIs in interface CookieStorepublic boolean remove(URI uri, HttpCookie cookie)
remove in interface CookieStorepublic boolean removeAll()
removeAll in interface CookieStorepublic URI getStaticURI()
public void load()
throws IOException
IOExceptionpublic void store()
throws IOException
IOExceptionpublic boolean touchStore()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.