Class CookieSpecs


  • public final class CookieSpecs
    extends java.lang.Object
    Standard cookie specifications supported by Unirest.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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)
    • Constructor Summary

      Constructors 
      Constructor Description
      CookieSpecs()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • 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
      • 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)
        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
    • Constructor Detail

      • CookieSpecs

        public CookieSpecs()