Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void parse​(org.apache.http.cookie.SetCookie cookie, java.lang.String value)  
      • 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 Detail

      • DEFAULT_DATE_PATTERNS

        private static final java.lang.String[] DEFAULT_DATE_PATTERNS
      • EXTENDED_DATE_PATTERNS_1

        private static final java.lang.String[] EXTENDED_DATE_PATTERNS_1
      • EXTENDED_DATE_PATTERNS_2

        private static final java.lang.String[] EXTENDED_DATE_PATTERNS_2
    • Constructor Detail

      • HtmlUnitExpiresHandler

        HtmlUnitExpiresHandler​(BrowserVersion browserVersion)
    • Method Detail

      • parse

        public void parse​(org.apache.http.cookie.SetCookie cookie,
                          java.lang.String value)
                   throws org.apache.http.cookie.MalformedCookieException
        Specified by:
        parse in interface org.apache.http.cookie.CookieAttributeHandler
        Overrides:
        parse in class org.apache.http.impl.cookie.BasicExpiresHandler
        Throws:
        org.apache.http.cookie.MalformedCookieException