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
StringCOMMENTURL_ATTR
StringCOMMENT_ATTR
StringDISCARD_ATTR
StringDOMAIN_ATTR
StringEXPIRES_ATTR
StringMAX_AGE_ATTR
StringPATH_ATTR
StringPORT_ATTR
StringSECURE_ATTR
StringVERSION_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

Since: API Level 1

Constant Value: "commenturl"

public static final String COMMENT_ATTR

Since: API Level 1

Constant Value: "comment"

public static final String DISCARD_ATTR

Since: API Level 1

Constant Value: "discard"

public static final String DOMAIN_ATTR

Since: API Level 1

Constant Value: "domain"

public static final String EXPIRES_ATTR

Since: API Level 1

Constant Value: "expires"

public static final String MAX_AGE_ATTR

Since: API Level 1

Constant Value: "max-age"

public static final String PATH_ATTR

Since: API Level 1

Constant Value: "path"

public static final String PORT_ATTR

Since: API Level 1

Constant Value: "port"

public static final String SECURE_ATTR

Since: API Level 1

Constant Value: "secure"

public static final String VERSION_ATTR

Since: API Level 1

Constant Value: "version"

Public Methods

public abstract boolean containsAttribute (String name)

Since: API Level 1

public abstract String getAttribute (String name)

Since: API Level 1