|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.jmx.CookieValuePersisterSettings
public class CookieValuePersisterSettings
Exposes Application related functionality for JMX.
Constructor Summary | |
---|---|
CookieValuePersisterSettings(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(Application application)
application
- Method Detail |
---|
public java.lang.String getComment()
CookieValuePersisterSettingsMBean
getComment
in interface CookieValuePersisterSettingsMBean
CookieValuePersisterSettingsMBean.getComment()
public java.lang.String getDomain()
CookieValuePersisterSettingsMBean
getDomain
in interface CookieValuePersisterSettingsMBean
CookieValuePersisterSettingsMBean.getDomain()
public int getMaxAge()
CookieValuePersisterSettingsMBean
getMaxAge
in interface CookieValuePersisterSettingsMBean
CookieValuePersisterSettingsMBean.getMaxAge()
public boolean getSecure()
CookieValuePersisterSettingsMBean
getSecure
in interface CookieValuePersisterSettingsMBean
CookieValuePersisterSettingsMBean.getSecure()
public int getVersion()
CookieValuePersisterSettingsMBean
getVersion
in interface CookieValuePersisterSettingsMBean
CookieValuePersisterSettingsMBean.getVersion()
public void setComment(java.lang.String comment)
CookieValuePersisterSettingsMBean
setComment
in interface CookieValuePersisterSettingsMBean
comment
- the cookie commentCookieValuePersisterSettingsMBean.setComment(java.lang.String)
public void setDomain(java.lang.String domain)
CookieValuePersisterSettingsMBean
setDomain
in interface CookieValuePersisterSettingsMBean
domain
- the cookie domain nameCookieValuePersisterSettingsMBean.setDomain(java.lang.String)
public void setMaxAge(int maxAge)
CookieValuePersisterSettingsMBean
setMaxAge
in interface CookieValuePersisterSettingsMBean
maxAge
- the max age in secs.CookieValuePersisterSettingsMBean.setMaxAge(int)
public void setSecure(boolean secure)
CookieValuePersisterSettingsMBean
setSecure
in interface CookieValuePersisterSettingsMBean
secure
- 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 CookieValuePersisterSettingsMBean
version
- 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 |