|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.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(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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, 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 final WebResponse.CacheScope[] values()
for(WebResponse.CacheScope c : WebResponse.CacheScope.values())
System.out.println(c);
public static WebResponse.CacheScope valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||