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

Constant Value: "commenturl"

public static final String COMMENT_ATTR

Constant Value: "comment"

public static final String DISCARD_ATTR

Constant Value: "discard"

public static final String DOMAIN_ATTR

Constant Value: "domain"

public static final String EXPIRES_ATTR

Constant Value: "expires"

public static final String MAX_AGE_ATTR

Constant Value: "max-age"

public static final String PATH_ATTR

Constant Value: "path"

public static final String PORT_ATTR

Constant Value: "port"

public static final String SECURE_ATTR

Constant Value: "secure"

public static final String VERSION_ATTR

Constant Value: "version"

Public Methods

public abstract boolean containsAttribute (String name)

public abstract String getAttribute (String name)