public static enum GET.CacheControl extends Enum<GET.CacheControl>
| Enum Constant and Description |
|---|
NO_CACHE
Indicates that a cache MUST NOT use the response to satisfy a subsequent request without successful
revalidation with the origin server.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static GET.CacheControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GET.CacheControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GET.CacheControl PUBLIC
public static final GET.CacheControl PRIVATE
public static final GET.CacheControl NO_CACHE
public static GET.CacheControl[] values()
for (GET.CacheControl c : GET.CacheControl.values()) System.out.println(c);
public static GET.CacheControl 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 © 2016. All rights reserved.