Uses of Class
org.htmlunit.http.Cookie
Packages that use Cookie
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Abstract Http support.
All the customizations we did to make HttpClient behave like a real browser.
-
Uses of Cookie in org.htmlunit
Methods in org.htmlunit that return CookieModifier and TypeMethodDescriptionReturns the currently configured cookie with the specified name, ornullif 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 TypeMethodDescriptionvoidAdds the specified cookie.voidCookieManager.removeCookie(Cookie cookie) Removes the specified cookie. -
Uses of Cookie in org.htmlunit.http
Methods in org.htmlunit.http that return types with arguments of type CookieModifier and TypeMethodDescriptionCookieParser.parseCookie(String cookieString, URL pageUrl, BrowserVersion browserVersion) Parses a cookie string and returns a list of Cookie objects. -
Uses of Cookie in org.htmlunit.httpclient
Subclasses of Cookie in org.htmlunit.httpclientMethods in org.htmlunit.httpclient that return types with arguments of type CookieModifier and TypeMethodDescriptionHttpClientConverter.parseCookie(String cookieString, URL pageUrl, BrowserVersion browserVersion) Method parameters in org.htmlunit.httpclient with type arguments of type CookieModifier and TypeMethodDescriptionstatic voidHttpClientConverter.addMatching(Set<Cookie> cookies, URL normalizedUrl, BrowserVersion browserVersion, Set<Cookie> matches) Adds all matching cookies to the provided set.static List<org.apache.http.cookie.Cookie>HttpClientConverter.toHttpClient(Collection<Cookie> cookies) Converts the specified collection of cookies into a collection of HttpClient cookies.