Android APIs
public interface

ClientCookie

implements Cookie
org.apache.http.cookie.ClientCookie
Known Indirect Subclasses

Class Overview

ClientCookie extends the standard Cookie interface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server. This is important for generating the Cookie header because some cookie specifications require that the Cookie header should include certain attributes only if they were specified in the Set-Cookie header.

Summary

Constants
String COMMENTURL_ATTR
String COMMENT_ATTR
String DISCARD_ATTR
String DOMAIN_ATTR
String EXPIRES_ATTR
String MAX_AGE_ATTR
String PATH_ATTR
String PORT_ATTR
String SECURE_ATTR
String VERSION_ATTR
Public Methods
abstract boolean containsAttribute(String name)
abstract String getAttribute(String name)
[Expand]
Inherited Methods
From interface org.apache.http.cookie.Cookie

Constants

public static final String COMMENTURL_ATTR

Added in API level 1

Constant Value: "commenturl"

public static final String COMMENT_ATTR

Added in API level 1

Constant Value: "comment"

public static final String DISCARD_ATTR

Added in API level 1

Constant Value: "discard"

public static final String DOMAIN_ATTR

Added in API level 1

Constant Value: "domain"

public static final String EXPIRES_ATTR

Added in API level 1

Constant Value: "expires"

public static final String MAX_AGE_ATTR

Added in API level 1

Constant Value: "max-age"

public static final String PATH_ATTR

Added in API level 1

Constant Value: "path"

public static final String PORT_ATTR

Added in API level 1

Constant Value: "port"

public static final String SECURE_ATTR

Added in API level 1

Constant Value: "secure"

public static final String VERSION_ATTR

Added in API level 1

Constant Value: "version"

Public Methods

public abstract boolean containsAttribute (String name)

Added in API level 1

public abstract String getAttribute (String name)

Added in API level 1