Module org.apache.wicket.request
Package org.apache.wicket.request.http
Enum Class WebResponse.CacheScope
- All Implemented Interfaces:
Serializable
,Comparable<WebResponse.CacheScope>
,Constable
- Enclosing class:
- WebResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebResponse.CacheScope
Returns the enum constant of this class with the specified name.static WebResponse.CacheScope[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
use all caches (private + public) Use this value for caching if the data is not confidential or session-specific. It will allow public caches to cache the data. In some versions of Firefox this will enable caching of resources over SSL (details can be found here). -
PRIVATE
only use non-public caches Use this setting if the response is session-specific or confidential and you don't want it to be cached on public caches or proxies. On some versions of Firefox this will disable caching of any resources in over SSL connections.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-