Skip to content

Most visited

Recently visited

navigation

CookiePolicy | Android Developers

to top
Android APIs
public final class

CookiePolicy

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

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"
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.