public static enum Request.CacheControlRequest extends Enum<Request.CacheControlRequest>
| Enum Constant and Description |
|---|
CACHE_EXT |
MAX_AGE |
MAX_STALE |
MIN_FRESH |
NO_CACHE |
NO_STORE |
NO_TRANSFORM |
ONLY_IF_CACHED |
| Modifier and Type | Method and Description |
|---|---|
static Request.CacheControlRequest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.CacheControlRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.CacheControlRequest NO_CACHE
public static final Request.CacheControlRequest NO_STORE
public static final Request.CacheControlRequest MAX_AGE
public static final Request.CacheControlRequest MAX_STALE
public static final Request.CacheControlRequest MIN_FRESH
public static final Request.CacheControlRequest NO_TRANSFORM
public static final Request.CacheControlRequest ONLY_IF_CACHED
public static final Request.CacheControlRequest CACHE_EXT
public String code
public static Request.CacheControlRequest[] values()
for (Request.CacheControlRequest c : Request.CacheControlRequest.values()) System.out.println(c);
public static Request.CacheControlRequest valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.