|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICookie
Represents a cookie that is passed to/from the remote application.
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined. |
java.util.Date |
getCreated()
|
java.lang.String |
getDomain()
Returns domain attribute of the cookie. |
java.util.Date |
getExpiryDate()
Returns the expiration Date of the cookie, or null
if none exists. |
java.lang.String |
getName()
Return the name. |
java.lang.String |
getPath()
Returns the path attribute of the cookie |
java.util.Date |
getUpdated()
|
java.lang.String |
getValue()
|
int |
getVersion()
Returns the version of the cookie specification to which this cookie conforms. |
boolean |
isExpired()
Returns true if this cookie has expired. |
boolean |
isSecure()
|
void |
setComment(java.lang.String purpose)
Sets the comment used to describe the cookie's purpose. |
void |
setExpiryDate(java.util.Date expiry)
Sets expiration date. |
void |
setPath(java.lang.String uri)
Sets the path attribute. |
void |
setSecure(boolean flag)
Sets the secure attribute of the cookie. |
void |
setValue(java.lang.String newValue)
Set the value. |
void |
setVersion(int v)
Sets the version of the cookie specification to which this cookie conforms. |
| Method Detail |
|---|
java.lang.String getComment()
setComment(String)java.lang.String getDomain()
#setDomain(java.lang.String)java.util.Date getExpiryDate()
Date of the cookie, or null
if none exists.
Date, or null.setExpiryDate(java.util.Date)java.lang.String getName()
#setName(String)java.lang.String getPath()
setPath(java.lang.String)boolean isSecure()
true if this cookie should only be sent over secure connections.setSecure(boolean)boolean isExpired()
java.lang.String getValue()
int getVersion()
setVersion(int)void setComment(java.lang.String purpose)
comment - getComment()void setExpiryDate(java.util.Date expiry)
expiryDate - the Date after which this cookie is no longer valid.getExpiryDate()void setPath(java.lang.String uri)
path - The value of the path attributegetPath()void setSecure(boolean flag)
When true the cookie should only be sent using a secure protocol (https). This should only be set when the cookie's originating server used a secure protocol to set the cookie's value.
secure - The value of the secure attribute#getSecure()void setValue(java.lang.String newValue)
value - The new value.void setVersion(int v)
version - the version of the cookie.getVersion()java.util.Date getCreated()
java.util.Date getUpdated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||