Class CookiePolicy


  • @Deprecated
    public final class CookiePolicy
    extends java.lang.Object
    Deprecated.
    (4.3) use CookieSpecs.
    Standard cookie specifications supported by HttpClient.
    Since:
    4.0
    • Field Summary

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

      • Methods inherited from class java.lang.Object

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

      • BROWSER_COMPATIBILITY

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

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

        public static final java.lang.String RFC_2109
        Deprecated.
        The RFC 2109 compliant policy.
        See Also:
        Constant Field Values
      • RFC_2965

        public static final java.lang.String RFC_2965
        Deprecated.
        The RFC 2965 compliant policy.
        See Also:
        Constant Field Values
      • BEST_MATCH

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

        public static final java.lang.String IGNORE_COOKIES
        Deprecated.
        The policy that ignores cookies.
        Since:
        4.1-beta1
        See Also:
        Constant Field Values