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 BrowserVersionprivate 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
getAttributeNameMethods inherited from class org.apache.http.impl.cookie.AbstractCookieAttributeHandler
match, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
parsein interfaceorg.apache.http.cookie.CookieAttributeHandler- Overrides:
parsein classorg.apache.http.impl.cookie.BasicExpiresHandler- Throws:
org.apache.http.cookie.MalformedCookieException
-