Package org.apache.abdera.protocol.util
Enum CacheControlUtil.Directive
- java.lang.Object
-
- java.lang.Enum<CacheControlUtil.Directive>
-
- org.apache.abdera.protocol.util.CacheControlUtil.Directive
-
- All Implemented Interfaces:
Serializable,Comparable<CacheControlUtil.Directive>
- Enclosing class:
- CacheControlUtil
public static enum CacheControlUtil.Directive extends Enum<CacheControlUtil.Directive>
Cache Control Directives
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAXAGEMAXSTALEMINFRESHMUSTREVALIDATENOCACHENOSTORENOTRANSFORMONLYIFCACHEDPRIVATEPROXYREVALIDATEPUBLICSMAXAGEUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CacheControlUtil.Directiveselect(String d)static CacheControlUtil.DirectivevalueOf(String name)Returns the enum constant of this type with the specified name.static CacheControlUtil.Directive[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAXAGE
public static final CacheControlUtil.Directive MAXAGE
-
MAXSTALE
public static final CacheControlUtil.Directive MAXSTALE
-
MINFRESH
public static final CacheControlUtil.Directive MINFRESH
-
NOCACHE
public static final CacheControlUtil.Directive NOCACHE
-
NOSTORE
public static final CacheControlUtil.Directive NOSTORE
-
NOTRANSFORM
public static final CacheControlUtil.Directive NOTRANSFORM
-
ONLYIFCACHED
public static final CacheControlUtil.Directive ONLYIFCACHED
-
MUSTREVALIDATE
public static final CacheControlUtil.Directive MUSTREVALIDATE
-
PRIVATE
public static final CacheControlUtil.Directive PRIVATE
-
PROXYREVALIDATE
public static final CacheControlUtil.Directive PROXYREVALIDATE
-
PUBLIC
public static final CacheControlUtil.Directive PUBLIC
-
SMAXAGE
public static final CacheControlUtil.Directive SMAXAGE
-
UNKNOWN
public static final CacheControlUtil.Directive UNKNOWN
-
-
Method Detail
-
values
public static CacheControlUtil.Directive[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CacheControlUtil.Directive c : CacheControlUtil.Directive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheControlUtil.Directive valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
select
public static CacheControlUtil.Directive select(String d)
-
-