Uses of Class
org.htmlunit.util.Cookie
Packages that use Cookie
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).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 CookieModifier and TypeFieldDescriptionCookieManager.cookies_
The cookies added to this cookie manager.Methods in org.htmlunit that return CookieModifier and TypeMethodDescriptionReturns 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 CookieModifier and TypeMethodDescriptionCookieManager.getCookies()
Returns the currently configured cookies, in an unmodifiable set.WebClient.getCookies
(URL url) Returns the currently configured cookies applicable to the specified URL, in an unmodifiable set.Methods in org.htmlunit with parameters of type CookieModifier and TypeMethodDescriptionvoid
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 CookieModifier and TypeMethodDescriptionHttpClientConverter.fromHttpClient
(List<org.apache.http.cookie.Cookie> cookies) Converts the specified array of HttpClient cookies into a list of cookies.HttpClientConverter.parseCookie
(String cookieString, URL pageUrl, BrowserVersion browserVersion) Method parameters in org.htmlunit.httpclient with type arguments of type CookieModifier and TypeMethodDescriptionstatic 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.