Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes (contains the WebClient class which is the main entry point).
|
com.gargoylesoftware.htmlunit.util |
Misc utilities
|
Modifier and Type | Method and Description |
---|---|
Cookie |
CookieManager.getCookie(String name)
Returns the currently configured cookie with the specified name, or
null if one does not exist. |
Modifier and Type | Method and Description |
---|---|
Set<Cookie> |
CookieManager.getCookies()
Returns the currently configured cookies, in an unmodifiable set.
|
Set<Cookie> |
WebClient.getCookies(URL url)
Returns the currently configured cookies applicable to the specified URL, in an unmodifiable set.
|
Modifier and Type | Method and Description |
---|---|
void |
CookieManager.addCookie(Cookie cookie)
Adds the specified cookie.
|
void |
CookieManager.removeCookie(Cookie cookie)
Removes the specified cookie.
|
Modifier and Type | Method and Description |
---|---|
static List<Cookie> |
Cookie.fromHttpClient(List<Cookie> cookies)
Converts the specified array of HttpClient cookies into a list of cookies.
|
Modifier and Type | Method and Description |
---|---|
static List<Cookie> |
Cookie.toHttpClient(Collection<Cookie> cookies)
Converts the specified collection of cookies into an collection of HttpClient cookies.
|
Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.