|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<WebResponse.CacheScope> org.apache.wicket.request.http.WebResponse.CacheScope
public static enum WebResponse.CacheScope
caching scope for data
Unless the data is confidential, session-specific or user-specific the general advice is to prefer valuePUBLIC
for best network performance.
This value will basically affect the header [Cache-Control]. Details can be found here or in RFC-2616.
Enum Constant Summary | |
---|---|
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. |
|
PUBLIC
use all caches (private + public) Use this value for caching if the data is not confidential or session-specific. |
Method Summary | |
---|---|
static WebResponse.CacheScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WebResponse.CacheScope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WebResponse.CacheScope PUBLIC
public static final WebResponse.CacheScope PRIVATE
Method Detail |
---|
public static WebResponse.CacheScope[] values()
for (WebResponse.CacheScope c : WebResponse.CacheScope.values()) System.out.println(c);
public static WebResponse.CacheScope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |