public final class HtmlUnitCookieStore extends Object implements org.apache.http.client.CookieStore, Serializable
Constructor and Description |
---|
HtmlUnitCookieStore(CookieManager manager)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCookie(org.apache.http.cookie.Cookie cookie) |
void |
clear() |
boolean |
clearExpired(Date date) |
List<org.apache.http.cookie.Cookie> |
getCookies() |
public HtmlUnitCookieStore(CookieManager manager)
manager
- the CookieManagerpublic void addCookie(org.apache.http.cookie.Cookie cookie)
addCookie
in interface org.apache.http.client.CookieStore
public List<org.apache.http.cookie.Cookie> getCookies()
getCookies
in interface org.apache.http.client.CookieStore
public boolean clearExpired(Date date)
clearExpired
in interface org.apache.http.client.CookieStore
public void clear()
clear
in interface org.apache.http.client.CookieStore
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.