Package org.apache.http.cookie
Interface ClientCookie
- All Superinterfaces:
Cookie
- All Known Implementing Classes:
BasicClientCookie,BasicClientCookie2
public interface ClientCookie extends 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.- Since:
- 4.0
- Author:
- Oleg Kalnichevski
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMENT_ATTRstatic StringCOMMENTURL_ATTRstatic StringDISCARD_ATTRstatic StringDOMAIN_ATTRstatic StringEXPIRES_ATTRstatic StringMAX_AGE_ATTRstatic StringPATH_ATTRstatic StringPORT_ATTRstatic StringSECURE_ATTRstatic StringVERSION_ATTR -
Method Summary
Modifier and Type Method Description booleancontainsAttribute(String name)StringgetAttribute(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:
- Constant Field Values
-
PATH_ATTR
- See Also:
- Constant Field Values
-
DOMAIN_ATTR
- See Also:
- Constant Field Values
-
MAX_AGE_ATTR
- See Also:
- Constant Field Values
-
SECURE_ATTR
- See Also:
- Constant Field Values
-
COMMENT_ATTR
- See Also:
- Constant Field Values
-
EXPIRES_ATTR
- See Also:
- Constant Field Values
-
PORT_ATTR
- See Also:
- Constant Field Values
-
COMMENTURL_ATTR
- See Also:
- Constant Field Values
-
DISCARD_ATTR
- See Also:
- Constant Field Values
-
-
Method Details
-
getAttribute
-
containsAttribute
-