Package org.htmlunit.httpclient
Class HtmlUnitExpiresHandler
java.lang.Object
org.apache.http.impl.cookie.AbstractCookieAttributeHandler
org.apache.http.impl.cookie.BasicExpiresHandler
org.htmlunit.httpclient.HtmlUnitExpiresHandler
- All Implemented Interfaces:
org.apache.http.cookie.CommonCookieAttributeHandler
,org.apache.http.cookie.CookieAttributeHandler
final class HtmlUnitExpiresHandler
extends org.apache.http.impl.cookie.BasicExpiresHandler
Customized BasicExpiresHandler for HtmlUnit.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BrowserVersion
private static final String[]
private static final String[]
private static final String[]
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.http.impl.cookie.BasicExpiresHandler
getAttributeName
Methods inherited from class org.apache.http.impl.cookie.AbstractCookieAttributeHandler
match, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.http.cookie.CookieAttributeHandler
match, validate
-
Field Details
-
DEFAULT_DATE_PATTERNS
-
EXTENDED_DATE_PATTERNS_1
-
EXTENDED_DATE_PATTERNS_2
-
browserVersion_
-
-
Constructor Details
-
HtmlUnitExpiresHandler
HtmlUnitExpiresHandler(BrowserVersion browserVersion)
-
-
Method Details
-
parse
public void parse(org.apache.http.cookie.SetCookie cookie, String value) throws org.apache.http.cookie.MalformedCookieException - Specified by:
parse
in interfaceorg.apache.http.cookie.CookieAttributeHandler
- Overrides:
parse
in classorg.apache.http.impl.cookie.BasicExpiresHandler
- Throws:
org.apache.http.cookie.MalformedCookieException
-