|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwicket.jmx.CookieValuePersisterSettings
public class CookieValuePersisterSettings
Exposes Application related functionality for JMX.
| Constructor Summary | |
|---|---|
CookieValuePersisterSettings(wicket.Application application)
Create. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieValuePersisterSettings(wicket.Application application)
application - | Method Detail |
|---|
public java.lang.String getComment()
CookieValuePersisterSettingsMBean
getComment in interface CookieValuePersisterSettingsMBeanCookieValuePersisterSettingsMBean.getComment()public java.lang.String getDomain()
CookieValuePersisterSettingsMBean
getDomain in interface CookieValuePersisterSettingsMBeanCookieValuePersisterSettingsMBean.getDomain()public int getMaxAge()
CookieValuePersisterSettingsMBean
getMaxAge in interface CookieValuePersisterSettingsMBeanCookieValuePersisterSettingsMBean.getMaxAge()public boolean getSecure()
CookieValuePersisterSettingsMBean
getSecure in interface CookieValuePersisterSettingsMBeanCookieValuePersisterSettingsMBean.getSecure()public int getVersion()
CookieValuePersisterSettingsMBean
getVersion in interface CookieValuePersisterSettingsMBeanCookieValuePersisterSettingsMBean.getVersion()public void setComment(java.lang.String comment)
CookieValuePersisterSettingsMBean
setComment in interface CookieValuePersisterSettingsMBeancomment - the cookie commentCookieValuePersisterSettingsMBean.setComment(java.lang.String)public void setDomain(java.lang.String domain)
CookieValuePersisterSettingsMBean
setDomain in interface CookieValuePersisterSettingsMBeandomain - the cookie domain nameCookieValuePersisterSettingsMBean.setDomain(java.lang.String)public void setMaxAge(int maxAge)
CookieValuePersisterSettingsMBean
setMaxAge in interface CookieValuePersisterSettingsMBeanmaxAge - the max age in secs.CookieValuePersisterSettingsMBean.setMaxAge(int)public void setSecure(boolean secure)
CookieValuePersisterSettingsMBean
setSecure in interface CookieValuePersisterSettingsMBeansecure - if true, sends the cookie from the browser to the server using
only when using a secure protocol; if false, sent on any
protocolCookieValuePersisterSettingsMBean.setSecure(boolean)public void setVersion(int version)
CookieValuePersisterSettingsMBean
setVersion in interface CookieValuePersisterSettingsMBeanversion - 0 if the cookie should comply with the original Netscape
specification; 1 if the cookie should comply with RFC 2109CookieValuePersisterSettingsMBean.setVersion(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||