|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.net.CookieManagerSettings
The CookieManagerSettings class specifies settings for a
CookieManager.
| Constructor Summary | |
CookieManagerSettings()
Constructs a CookieManagerSettings object. |
|
| Method Summary | |
boolean |
equals(Object object)
|
boolean |
isCookieExpirationBufferEnabled()
Returns whether or not the CookieManager to be created
using this CookieManagerSettings uses an expiration buffer
for Cookies. |
static boolean |
isDefaultCookieExpirationBufferEnabled()
Returns the current boolean value of the
ice.net.cookieExpirationBufferEnabled property. |
void |
resetToDefault()
Resets the settings of current instance to the default settings. |
void |
setCookieExpirationBufferEnabled(boolean cookieExpirationBufferEnabled)
Sets this CookieManagerSettings' boolean
indicating to use an expiration buffer for Cookies to the
specified cookieExpirationBufferEnabled. |
static void |
setDefaultCookieExpirationBufferEnabled(boolean cookieExpirationBufferEnabled)
Sets the default value of the boolean indicating to use an
expiration buffer for Cookies to the specified
cookieExpirationBufferEnabled. |
static void |
setDefaultPersistPrivateCookies(boolean persistPrivateCookies)
Sets the default value of the boolean indicating to
persist private Cookies to the specified
peristPrivateCookies. |
void |
setPersistPrivateCookies(boolean persistPrivateCookies)
|
static boolean |
shouldDefaultPersistPrivateCookies()
Returns the current boolean value of the
ice.net.persistPrivateCookies property. |
boolean |
shouldPersistPrivateCookies()
Returns whether or not the CookieManager to be created
using this CookieManagerSettings persists private
Cookies. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CookieManagerSettings()
Constructs a CookieManagerSettings object.
| Method Detail |
public boolean equals(Object object)
public boolean isCookieExpirationBufferEnabled()
Returns whether or not the CookieManager to be created
using this CookieManagerSettings uses an expiration buffer
for Cookies.
true if the CookieManager to be
created uses an expiration buffer for Cookies,
false if not.setCookieExpirationBufferEnabled(boolean),
Cookiepublic static boolean isDefaultCookieExpirationBufferEnabled()
Returns the current boolean value of the
ice.net.cookieExpirationBufferEnabled property.
boolean value of the
ice.net.cookieExpirationBufferEnabled property.setDefaultCookieExpirationBufferEnabled(boolean)public void resetToDefault()
SettingsResets the settings of current instance to the default settings.
resetToDefault in interface Settingspublic void setCookieExpirationBufferEnabled(boolean cookieExpirationBufferEnabled)
Sets this CookieManagerSettings' boolean
indicating to use an expiration buffer for Cookies to the
specified cookieExpirationBufferEnabled.
When a new CookieManager is created through the
costructor with this CookieManager.CookieManager(CookieManagerSettings)CookieManagerSettings as parameter,
the
method's return value of the new CookieManager.isCookieExpirationBufferEnabled()CookieManager equals this
CookieManagerSettings'
method return
value.isCookieExpirationBufferEnabled()
cookieExpirationBufferEnabled - the new expiration buffer for Cookies
boolean value.isCookieExpirationBufferEnabled(),
CookieManager.CookieManager(CookieManagerSettings),
CookieManager.isCookieExpirationBufferEnabled()public static void setDefaultCookieExpirationBufferEnabled(boolean cookieExpirationBufferEnabled)
Sets the default value of the boolean indicating to use an
expiration buffer for Cookies to the specified
cookieExpirationBufferEnabled.
That is, every new instance of CookieManagerSettings will
have the boolean indicating to use an expiration buffer for
Cookies set to the specified
cookieExpirationBufferEnabled.
This method sets the
ice.net.cookieExpirationBufferEnabled property for the
current runtime.
cookieExpirationBufferEnabled - the new boolean value indicating the usage
of an expiration buffer for Cookies.isDefaultCookieExpirationBufferEnabled(),
isCookieExpirationBufferEnabled()public static void setDefaultPersistPrivateCookies(boolean persistPrivateCookies)
Sets the default value of the boolean indicating to
persist private Cookies to the specified
peristPrivateCookies.
That is, every new instance of CookieManagerSettings will
have the boolean indicating to persist private
Cookies set to the specified
persistPrivateCookies.
This method sets the ice.net.persistPrivateCookies
property for the current runtime.
persistPrivateCookies - the new boolean value indicating the
persistence of private Cookies.shouldDefaultPersistPrivateCookies(),
shouldPersistPrivateCookies()public void setPersistPrivateCookies(boolean persistPrivateCookies)
public static boolean shouldDefaultPersistPrivateCookies()
Returns the current boolean value of the
ice.net.persistPrivateCookies property.
boolean value of the
ice.net.persistPrivateCookies property.setDefaultPersistPrivateCookies(boolean)public boolean shouldPersistPrivateCookies()
Returns whether or not the CookieManager to be created
using this CookieManagerSettings persists private
Cookies.
true if the CookieManager to be
created persists private Cookies,
false if not.setPersistPrivateCookies(boolean),
Cookiepublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||