public final class

CookiePolicy

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

Class Overview

Standard cookie specifications supported by HttpClient.

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 IGNORE_COOKIES The policy that ignores cookies.
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

Also: HttpClient

The default 'best match' policy.

Constant Value: "best-match"

public static final String BROWSER_COMPATIBILITY

Also: HttpClient

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

Constant Value: "compatibility"

public static final String IGNORE_COOKIES

Also: HttpClient

The policy that ignores cookies.

Constant Value: "ignoreCookies"

public static final String NETSCAPE

Also: HttpClient

The Netscape cookie draft compliant policy.

Constant Value: "netscape"

public static final String RFC_2109

Also: HttpClient

The RFC 2109 compliant policy.

Constant Value: "rfc2109"

public static final String RFC_2965

Also: HttpClient

The RFC 2965 compliant policy.

Constant Value: "rfc2965"