|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CookieValuePersisterSettingsMBean
Cookie persister settings.
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Gets the cookie comment. |
java.lang.String |
getDomain()
Gets the cookie domain name. |
int |
getMaxAge()
Gets the max age. |
boolean |
getSecure()
Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol. |
int |
getVersion()
Returns the version of the protocol this cookie complies with. |
void |
setComment(java.lang.String comment)
Sets the cookie comment. |
void |
setDomain(java.lang.String domain)
Sets the cookie domain name. |
void |
setMaxAge(int maxAge)
Sets the maximum age of the cookie in seconds. |
void |
setSecure(boolean secure)
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL. |
void |
setVersion(int version)
Sets the version of the cookie protocol this cookie complies with. |
| Method Detail |
|---|
java.lang.String getComment()
java.lang.String getDomain()
int getMaxAge()
boolean getSecure()
int getVersion()
void setComment(java.lang.String comment)
comment - the cookie commentvoid setDomain(java.lang.String domain)
domain - the cookie domain namevoid setMaxAge(int maxAge)
maxAge - the max age in secs.void setSecure(boolean secure)
secure - if true, sends the cookie from the browser to the server using
only when using a secure protocol; if false, sent on any
protocolvoid setVersion(int version)
version - 0 if the cookie should comply with the original Netscape
specification; 1 if the cookie should comply with RFC 2109
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||