Android APIs
Added in API level 1
Deprecated since API level 22
public final class

CookiePolicy

extends Object
java.lang.Object
   ↳ org.apache.http.client.params.CookiePolicy

This class was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

Summary

Constants
String BEST_MATCH The default 'best match' policy.
String BROWSER_COMPATIBILITY The policy that provides high degree of compatibilty with common cookie management of popular HTTP agents.
String NETSCAPE The Netscape cookie draft compliant policy.
String RFC_2109 The RFC 2109 compliant policy.
String RFC_2965 The RFC 2965 compliant policy.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String BEST_MATCH

Added in API level 1

The default 'best match' policy.

Constant Value: "best-match"

public static final String BROWSER_COMPATIBILITY

Added in API level 1

The policy that provides high degree of compatibilty with common cookie management of popular HTTP agents.

Constant Value: "compatibility"

public static final String NETSCAPE

Added in API level 1

The Netscape cookie draft compliant policy.

Constant Value: "netscape"

public static final String RFC_2109

Added in API level 1

The RFC 2109 compliant policy.

Constant Value: "rfc2109"

public static final String RFC_2965

Added in API level 1

The RFC 2965 compliant policy.

Constant Value: "rfc2965"