public class HttpCookie extends MimeHeader
HttpResponse.getCookies()
,
Serialized FormConstructor 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, toString
public HttpCookie() throws MimeException
HttpCookie
instance.MimeException
- if a MIME related parsing error occurspublic java.lang.String getCookieName()
HttpCookie
public java.lang.String getCookieValue()
HttpCookie
public java.lang.String getPath()
HttpCookie
public java.lang.String getComment()
HttpCookie
public java.util.Date getExpires()
HttpCookie
public java.lang.String getDomain()
HttpCookie
public boolean isSecure()
HttpCookie
is secure.true
if cookie is secure, false
otherwiseCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved