Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
org.htmlunit.httpclient |
All the customizations we did to make HttpClient behave like a real browser.
|
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> |
HttpClientConverter.fromHttpClient(List<org.apache.http.cookie.Cookie> cookies)
Converts the specified array of HttpClient cookies into a list of cookies.
|
static List<Cookie> |
HttpClientConverter.parseCookie(String cookieString,
URL pageUrl,
BrowserVersion browserVersion) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpClientConverter.addMatching(Set<Cookie> cookies,
URL normalizedUrl,
BrowserVersion browserVersion,
Set<Cookie> matches) |
static void |
HttpClientConverter.addMatching(Set<Cookie> cookies,
URL normalizedUrl,
BrowserVersion browserVersion,
Set<Cookie> matches) |
static List<org.apache.http.cookie.Cookie> |
HttpClientConverter.toHttpClient(Collection<Cookie> cookies)
Converts the specified collection of cookies into a collection of HttpClient cookies.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.