|
||||||||||
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_SCOPE> com.ibm.portal.resolver.data.CacheControlDataSource.CACHE_SCOPE
public static enum CacheControlDataSource.CACHE_SCOPE
Possible scope for the cache result
Enum Constant Summary | |
---|---|
PRIVATE
Indicates that all or part of the response message is intended for a single user and MUST NOT be cached by a shared cache. |
|
PUBLIC
Indicates that the response MAY be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache. |
|
UNDEFINED
Indicates that the data source does not explicitly defines the cache scope, the server will compute the scope based on the existence of a security context. |
Method Summary | |
---|---|
abstract CacheControlDataSource.CACHE_SCOPE |
combine(CacheControlDataSource.CACHE_SCOPE aScope)
Combines a cache scope with an existing scope |
static CacheControlDataSource.CACHE_SCOPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CacheControlDataSource.CACHE_SCOPE[] |
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_SCOPE PRIVATE
public static final CacheControlDataSource.CACHE_SCOPE PUBLIC
public static final CacheControlDataSource.CACHE_SCOPE UNDEFINED
Method Detail |
---|
public static CacheControlDataSource.CACHE_SCOPE[] values()
for (CacheControlDataSource.CACHE_SCOPE c : CacheControlDataSource.CACHE_SCOPE.values()) System.out.println(c);
public static CacheControlDataSource.CACHE_SCOPE 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_SCOPE combine(CacheControlDataSource.CACHE_SCOPE aScope)
aScope
- the cache scope to combine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |