Package org.apache.http.cookie
Interface ClientCookie
- All Superinterfaces:
Cookie
- All Known Implementing Classes:
BasicClientCookie
,BasicClientCookie2
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.
Please do not use attributes marked as @Obsolete. They have been rendered obsolete by RFC 6265.
- Since:
- 4.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsAttribute
(String name) getAttribute
(String name) Methods inherited from interface org.apache.http.cookie.Cookie
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
-
Field Details
-
VERSION_ATTR
- See Also:
-
PATH_ATTR
- See Also:
-
DOMAIN_ATTR
- See Also:
-
MAX_AGE_ATTR
- See Also:
-
SECURE_ATTR
- See Also:
-
COMMENT_ATTR
- See Also:
-
EXPIRES_ATTR
- See Also:
-
PORT_ATTR
- See Also:
-
COMMENTURL_ATTR
- See Also:
-
DISCARD_ATTR
- See Also:
-
-
Method Details
-
getAttribute
-
containsAttribute
-