Class CookieSpecs


  • 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
      Deprecated.
      (4.4) use {link #DEFAULT}.
      static java.lang.String BROWSER_COMPATIBILITY
      Deprecated.
      (4.4) use {link #DEFAULT}.
      static java.lang.String DEFAULT
      The default policy.
      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 6265 compliant policy (interoprability profile).
      static java.lang.String STANDARD_STRICT
      The RFC 6265 compliant policy (strict profile).
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • BROWSER_COMPATIBILITY

        @Deprecated
        public static final java.lang.String BROWSER_COMPATIBILITY
        Deprecated.
        (4.4) use {link #DEFAULT}.
        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 6265 compliant policy (interoprability profile).
        See Also:
        Constant Field Values
      • STANDARD_STRICT

        public static final java.lang.String STANDARD_STRICT
        The RFC 6265 compliant policy (strict profile).
        Since:
        4.4
        See Also:
        Constant Field Values
      • BEST_MATCH

        @Deprecated
        public static final java.lang.String BEST_MATCH
        Deprecated.
        (4.4) use {link #DEFAULT}.
        The default 'best match' policy.
        See Also:
        Constant Field Values
      • DEFAULT

        public static final java.lang.String DEFAULT
        The default policy. This policy provides a higher degree of compatibility with common cookie management of popular HTTP agents for non-standard (Netscape style) cookies.
        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