public class HttpCookie extends MimeHeader
HttpResponse.getCookies(),
Serialized Form| Constructor and Description |
|---|
HttpCookie()
Constructs a new
HttpCookie instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment()
Gets the comment of this
HttpCookie |
java.lang.String |
getCookieName()
Gets the name of this
HttpCookie |
java.lang.String |
getCookieValue()
Gets the value of this
HttpCookie |
java.lang.String |
getDomain()
Gets the domain of this
HttpCookie |
java.util.Date |
getExpires()
Gets the expiration date of this
HttpCookie |
java.lang.String |
getPath()
Gets the path of this
HttpCookie |
boolean |
isSecure()
Checks if this
HttpCookie is secure. |
addAttribute, addAttribute, getAttribute, getAttributes, getName, getValue, getValueString, isFolding, isValid, removeAttribute, setFolding, setName, setValue, toStringpublic HttpCookie()
throws MimeException
HttpCookie instance.MimeException - if a MIME related parsing error occurspublic java.lang.String getCookieName()
HttpCookiepublic java.lang.String getCookieValue()
HttpCookiepublic java.lang.String getPath()
HttpCookiepublic java.lang.String getComment()
HttpCookiepublic java.util.Date getExpires()
HttpCookiepublic java.lang.String getDomain()
HttpCookiepublic boolean isSecure()
HttpCookie is secure.true if cookie is secure, false
otherwiseCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved