|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CacheControlDataSource.CACHE_POLICY> com.ibm.portal.resolver.data.CacheControlDataSource.CACHE_POLICY
public static enum CacheControlDataSource.CACHE_POLICY
Controls how the content is cached
Enum Constant Summary | |
---|---|
MUST_REVALIDATE
Because a cache MAY be configured to ignore a server's specified expiration time, and because a client request MAY include a max- stale directive (which has a similar effect), the protocol also includes a mechanism for the origin server to require revalidation of a cache entry on any subsequent use. |
|
NO_CACHE
If the no-cache directive does not specify a field-name, then a cache MUST NOT use the response to satisfy a subsequent request without successful revalidation with the origin server. |
|
NO_STORE
The purpose of the no-store directive is to prevent the inadvertent release or retention of sensitive information (for example, on backup tapes). |
|
UNDEFINED
Indicates that the cache policy is unknown and that the server should apply a sensible default |
Method Summary | |
---|---|
abstract CacheControlDataSource.CACHE_POLICY |
combine(CacheControlDataSource.CACHE_POLICY aPolicy)
Combines a cache policy with an existing policy |
static CacheControlDataSource.CACHE_POLICY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CacheControlDataSource.CACHE_POLICY[] |
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 CacheControlDataSource.CACHE_POLICY MUST_REVALIDATE
public static final CacheControlDataSource.CACHE_POLICY NO_CACHE
public static final CacheControlDataSource.CACHE_POLICY NO_STORE
public static final CacheControlDataSource.CACHE_POLICY UNDEFINED
Method Detail |
---|
public static CacheControlDataSource.CACHE_POLICY[] values()
for (CacheControlDataSource.CACHE_POLICY c : CacheControlDataSource.CACHE_POLICY.values()) System.out.println(c);
public static CacheControlDataSource.CACHE_POLICY 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 nullpublic abstract CacheControlDataSource.CACHE_POLICY combine(CacheControlDataSource.CACHE_POLICY aPolicy)
aPolicy
- the cache policy to combine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |