Package org.apache.http.cookie
Interface ClientCookie
-
- All Superinterfaces:
Cookie
- All Known Implementing Classes:
BasicClientCookie,BasicClientCookie2
public interface ClientCookie extends Cookie
ClientCookie extends the standardCookieinterface 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 theCookieheader because some cookie specifications require that theCookieheader should include certain attributes only if they were specified in theSet-Cookieheader.Please do not use attributes marked as @Obsolete. They have been rendered obsolete by RFC 6265.
- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMMENT_ATTRstatic java.lang.StringCOMMENTURL_ATTRstatic java.lang.StringDISCARD_ATTRstatic java.lang.StringDOMAIN_ATTRstatic java.lang.StringEXPIRES_ATTRstatic java.lang.StringMAX_AGE_ATTRstatic java.lang.StringPATH_ATTRstatic java.lang.StringPORT_ATTRstatic java.lang.StringSECURE_ATTRstatic java.lang.StringVERSION_ATTR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsAttribute(java.lang.String name)java.lang.StringgetAttribute(java.lang.String name)-
Methods inherited from interface org.apache.http.cookie.Cookie
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
-
-
-
-
Field Detail
-
VERSION_ATTR
@Obsolete static final java.lang.String VERSION_ATTR
- See Also:
- Constant Field Values
-
PATH_ATTR
static final java.lang.String PATH_ATTR
- See Also:
- Constant Field Values
-
DOMAIN_ATTR
static final java.lang.String DOMAIN_ATTR
- See Also:
- Constant Field Values
-
MAX_AGE_ATTR
static final java.lang.String MAX_AGE_ATTR
- See Also:
- Constant Field Values
-
SECURE_ATTR
static final java.lang.String SECURE_ATTR
- See Also:
- Constant Field Values
-
COMMENT_ATTR
@Obsolete static final java.lang.String COMMENT_ATTR
- See Also:
- Constant Field Values
-
EXPIRES_ATTR
static final java.lang.String EXPIRES_ATTR
- See Also:
- Constant Field Values
-
PORT_ATTR
@Obsolete static final java.lang.String PORT_ATTR
- See Also:
- Constant Field Values
-
COMMENTURL_ATTR
@Obsolete static final java.lang.String COMMENTURL_ATTR
- See Also:
- Constant Field Values
-
DISCARD_ATTR
@Obsolete static final java.lang.String DISCARD_ATTR
- See Also:
- Constant Field Values
-
-