Class NetscapeDomainHandler

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttributeName()  
      private static boolean isSpecialDomain​(java.lang.String domain)
      Checks if the given domain is in one of the seven special top level domains defined by the Netscape cookie specification.
      boolean match​(Cookie cookie, CookieOrigin origin)
      Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
      void parse​(SetCookie cookie, java.lang.String value)
      Parse the given cookie attribute value and update the corresponding Cookie property.
      void validate​(Cookie cookie, CookieOrigin origin)
      Peforms cookie validation for the given attribute value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait