public class HtmlUnitBrowserCompatCookieSpec
extends org.apache.http.impl.cookie.BrowserCompatSpec
| Constructor and Description |
|---|
HtmlUnitBrowserCompatCookieSpec(BrowserVersion browserVersion)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.http.Header> |
formatCookies(List<org.apache.http.cookie.Cookie> cookies) |
List<org.apache.http.cookie.Cookie> |
parse(org.apache.http.Header header,
org.apache.http.cookie.CookieOrigin origin) |
getVersion, getVersionHeader, toStringgetDefaultDomain, getDefaultPath, match, parse, validatepublic HtmlUnitBrowserCompatCookieSpec(BrowserVersion browserVersion)
browserVersion - the BrowserVersion to simulatepublic List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header header, org.apache.http.cookie.CookieOrigin origin) throws org.apache.http.cookie.MalformedCookieException
parse in interface org.apache.http.cookie.CookieSpecparse in class org.apache.http.impl.cookie.BrowserCompatSpecorg.apache.http.cookie.MalformedCookieExceptionCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.