public static enum CacheAbleRequest.ResultType extends java.lang.Enum<CacheAbleRequest.ResultType>
| Enum Constant and Description |
|---|
USE_CACHE_ANYWAY |
USE_CACHE_NOT_EXPIRED |
USE_CACHE_ON_FAIL |
USE_CACHE_ON_TIMEOUT |
USE_DATA_FROM_SERVER |
| Modifier and Type | Method and Description |
|---|---|
static CacheAbleRequest.ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheAbleRequest.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheAbleRequest.ResultType USE_CACHE_NOT_EXPIRED
public static final CacheAbleRequest.ResultType USE_CACHE_ANYWAY
public static final CacheAbleRequest.ResultType USE_CACHE_ON_TIMEOUT
public static final CacheAbleRequest.ResultType USE_DATA_FROM_SERVER
public static final CacheAbleRequest.ResultType USE_CACHE_ON_FAIL
public static CacheAbleRequest.ResultType[] values()
for (CacheAbleRequest.ResultType c : CacheAbleRequest.ResultType.values()) System.out.println(c);
public static CacheAbleRequest.ResultType 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 namejava.lang.NullPointerException - if the argument is null