public enum CacheControlDirective extends Enum<CacheControlDirective>
Enum Constant and Description |
---|
INVALID |
MAX_AGE |
MAX_STALE |
MIN_FRESH |
MUST_REVALIDATE |
NO_CACHE |
NO_STORE |
NO_TRANSFORM |
ONLY_IF_CACHED |
PRIVATE |
PROXY_REVALIDATE |
PUBLIC |
S_MAXAGE |
Modifier and Type | Method and Description |
---|---|
static CacheControlDirective |
parseValue(String directive) |
String |
value() |
static CacheControlDirective |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheControlDirective[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheControlDirective MUST_REVALIDATE
public static final CacheControlDirective NO_CACHE
public static final CacheControlDirective NO_STORE
public static final CacheControlDirective NO_TRANSFORM
public static final CacheControlDirective PRIVATE
public static final CacheControlDirective PUBLIC
public static final CacheControlDirective PROXY_REVALIDATE
public static final CacheControlDirective MAX_AGE
public static final CacheControlDirective S_MAXAGE
public static final CacheControlDirective INVALID
public static final CacheControlDirective ONLY_IF_CACHED
public static final CacheControlDirective MAX_STALE
public static final CacheControlDirective MIN_FRESH
public static CacheControlDirective[] values()
for (CacheControlDirective c : CacheControlDirective.values()) System.out.println(c);
public static CacheControlDirective 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 nullpublic String value()
public static CacheControlDirective parseValue(String directive)
Copyright © 2018 WSO2. All rights reserved.