org.apache.http.cookie.ClientCookie
org.apache.http.cookie.ClientCookie |
Cookie
|
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
Public Methods
getComment,
getCommentURL,
getDomain,
getExpiryDate,
getName,
getPath,
getPorts,
getValue,
getVersion,
isExpired,
isPersistent,
isSecure
Details
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
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
public
static
final
String
PORT_ATTR
public
static
final
String
SECURE_ATTR
public
static
final
String
VERSION_ATTR
Constant Value:
"version"
Public Methods
public
boolean
containsAttribute(String name)