Class CookieSpecs


  • @Immutable
    public final class CookieSpecs
    extends java.lang.Object
    Standard cookie specifications supported by HttpClient.
    Since:
    4.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEST_MATCH
      The default 'best match' policy.
      static java.lang.String BROWSER_COMPATIBILITY
      The policy that provides high degree of compatibility with common cookie management of popular HTTP agents.
      static java.lang.String IGNORE_COOKIES
      The policy that ignores cookies.
      static java.lang.String NETSCAPE
      The Netscape cookie draft compliant policy.
      static java.lang.String STANDARD
      The RFC 2965 compliant policy (standard).
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BROWSER_COMPATIBILITY

        public static final java.lang.String BROWSER_COMPATIBILITY
        The policy that provides high degree of compatibility with common cookie management of popular HTTP agents.
        See Also:
        Constant Field Values
      • NETSCAPE

        public static final java.lang.String NETSCAPE
        The Netscape cookie draft compliant policy.
        See Also:
        Constant Field Values
      • STANDARD

        public static final java.lang.String STANDARD
        The RFC 2965 compliant policy (standard).
        See Also:
        Constant Field Values
      • BEST_MATCH

        public static final java.lang.String BEST_MATCH
        The default 'best match' policy.
        See Also:
        Constant Field Values
      • IGNORE_COOKIES

        public static final java.lang.String IGNORE_COOKIES
        The policy that ignores cookies.
        See Also:
        Constant Field Values