public static enum Response.CacheControlResponse extends Enum<Response.CacheControlResponse>
| Enum Constant and Description |
|---|
CACHE_EXT |
MAX_AGE |
MUST_REVALIDATE |
NO_CACHE |
NO_STORE |
NO_TRANSFORM |
PRIVATE |
PROXY_REVALIDATE |
PUBLIC |
S_MAX_AGE |
| Modifier and Type | Method and Description |
|---|---|
static Response.CacheControlResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response.CacheControlResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.CacheControlResponse PUBLIC
public static final Response.CacheControlResponse PRIVATE
public static final Response.CacheControlResponse NO_CACHE
public static final Response.CacheControlResponse NO_STORE
public static final Response.CacheControlResponse NO_TRANSFORM
public static final Response.CacheControlResponse MUST_REVALIDATE
public static final Response.CacheControlResponse PROXY_REVALIDATE
public static final Response.CacheControlResponse MAX_AGE
public static final Response.CacheControlResponse S_MAX_AGE
public static final Response.CacheControlResponse CACHE_EXT
public String code
public static Response.CacheControlResponse[] values()
for (Response.CacheControlResponse c : Response.CacheControlResponse.values()) System.out.println(c);
public static Response.CacheControlResponse 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.