Class HtmlUnitVersionAttributeHandler

  • All Implemented Interfaces:
    org.apache.http.cookie.CommonCookieAttributeHandler, org.apache.http.cookie.CookieAttributeHandler

    final class HtmlUnitVersionAttributeHandler
    extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler
    implements org.apache.http.cookie.CommonCookieAttributeHandler
    VersionAttributeHandler for HtmlUnit.
    • Method Summary

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

      • HtmlUnitVersionAttributeHandler

        HtmlUnitVersionAttributeHandler()
    • Method Detail

      • parse

        public void parse​(org.apache.http.cookie.SetCookie cookie,
                          java.lang.String value)
                   throws org.apache.http.cookie.MalformedCookieException
        Parse cookie version attribute.
        Specified by:
        parse in interface org.apache.http.cookie.CookieAttributeHandler
        Throws:
        org.apache.http.cookie.MalformedCookieException
      • getAttributeName

        public java.lang.String getAttributeName()
        Specified by:
        getAttributeName in interface org.apache.http.cookie.CommonCookieAttributeHandler