|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mime.MimeHeader
com.jscape.inet.http.HttpCookie
public class HttpCookie
Represents an HTTP cookie returned in an HTTP response.
HttpResponse.getCookies()
,
Serialized FormField Summary |
---|
Fields inherited from interface com.jscape.inet.mime.MimeConstants |
---|
COLON, CR, CRLF, EQUALS, LF, QUESTION_MARK, SEMI_COLON, SPACE, TAB |
Constructor Summary | |
---|---|
HttpCookie()
Constructs a new HttpCookie instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.jscape.inet.mime.MimeHeader |
---|
addAttribute, addAttribute, getAttribute, getAttributes, getName, getValue, getValueString, isFolding, isValid, removeAttribute, setFolding, setName, setValue, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpCookie() throws MimeException
HttpCookie
instance.
MimeException
- if a MIME related parsing error occursMethod Detail |
---|
public 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
otherwise
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |