|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teamdev.jxbrowser.cookie.HttpCookie
public class HttpCookie
Represents an HTTP cookie.
| Constructor Summary | |
|---|---|
HttpCookie(java.lang.String name,
java.lang.String value,
java.lang.String domain,
java.lang.String path,
long expiresDate,
boolean httpOnly,
boolean secure,
boolean sessionOnly)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDomain()
Returns the domain of cookie. |
long |
getExpiresDate()
Returns the cookie's expiration date. |
java.lang.String |
getName()
Returns the cookie's name. |
java.lang.String |
getPath()
Returns the cookie's path. |
java.lang.String |
getValue()
Returns the cookie's value. |
boolean |
isHTTPOnly()
Returns whether the cookie should only be sent to HTTP servers. |
boolean |
isSecure()
Returns whether the cookie should only be sent over secure channels. |
boolean |
isSessionOnly()
Returns whether the cookie should be discarded at the end of the session (regardless of expiration date). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpCookie(java.lang.String name,
java.lang.String value,
java.lang.String domain,
java.lang.String path,
long expiresDate,
boolean httpOnly,
boolean secure,
boolean sessionOnly)
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getValue()
public java.lang.String getDomain()
public java.lang.String getPath()
public long getExpiresDate()
public boolean isHTTPOnly()
true if this cookie should only be sent via HTTP headers,
false otherwise.public boolean isSessionOnly()
true if the cookie should be discarded at the end of the
session (regardless of expiration date), otherwise false.public boolean isSecure()
true if this cookie should only be sent
over secure channels, otherwise false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||