Uses of Class
org.htmlunit.util.Cookie
-
Packages that use Cookie Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point).org.htmlunit.httpclient All the customizations we did to make HttpClient behave like a real browser. -
-
Uses of Cookie in org.htmlunit
Fields in org.htmlunit with type parameters of type Cookie Modifier and Type Field Description private java.util.Set<Cookie>
CookieManager. cookies_
The cookies added to this cookie manager.Methods in org.htmlunit that return Cookie Modifier and Type Method Description Cookie
CookieManager. getCookie(java.lang.String name)
Returns the currently configured cookie with the specified name, ornull
if one does not exist.Methods in org.htmlunit that return types with arguments of type Cookie Modifier and Type Method Description java.util.Set<Cookie>
CookieManager. getCookies()
Returns the currently configured cookies, in an unmodifiable set.java.util.Set<Cookie>
WebClient. getCookies(java.net.URL url)
Returns the currently configured cookies applicable to the specified URL, in an unmodifiable set.Methods in org.htmlunit with parameters of type Cookie Modifier and Type Method Description void
CookieManager. addCookie(Cookie cookie)
Adds the specified cookie.void
CookieManager. removeCookie(Cookie cookie)
Removes the specified cookie. -
Uses of Cookie in org.htmlunit.httpclient
Methods in org.htmlunit.httpclient that return types with arguments of type Cookie Modifier and Type Method Description static java.util.List<Cookie>
HttpClientConverter. fromHttpClient(java.util.List<org.apache.http.cookie.Cookie> cookies)
Converts the specified array of HttpClient cookies into a list of cookies.static java.util.List<Cookie>
HttpClientConverter. parseCookie(java.lang.String cookieString, java.net.URL pageUrl, BrowserVersion browserVersion)
Method parameters in org.htmlunit.httpclient with type arguments of type Cookie Modifier and Type Method Description static void
HttpClientConverter. addMatching(java.util.Set<Cookie> cookies, java.net.URL normalizedUrl, BrowserVersion browserVersion, java.util.Set<Cookie> matches)
static java.util.List<org.apache.http.cookie.Cookie>
HttpClientConverter. toHttpClient(java.util.Collection<Cookie> cookies)
Converts the specified collection of cookies into a collection of HttpClient cookies.
-