org.codehaus.httpcache4j
Enum CacheControl.Directive
java.lang.Object
java.lang.Enum<CacheControl.Directive>
org.codehaus.httpcache4j.CacheControl.Directive
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CacheControl.Directive>
- Enclosing class:
- CacheControl
public static enum CacheControl.Directive
- extends java.lang.Enum<CacheControl.Directive>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PRIVATE
public static final CacheControl.Directive PRIVATE
PUBLIC
public static final CacheControl.Directive PUBLIC
MUST_REVALIDATE
public static final CacheControl.Directive MUST_REVALIDATE
NO_STORE
public static final CacheControl.Directive NO_STORE
NO_CACHE
public static final CacheControl.Directive NO_CACHE
NO_TRANSFORM
public static final CacheControl.Directive NO_TRANSFORM
MAX_AGE
public static final CacheControl.Directive MAX_AGE
MAX_STALE
public static final CacheControl.Directive MAX_STALE
ONLY_IF_CACHED
public static final CacheControl.Directive ONLY_IF_CACHED
MIN_FRESH
public static final CacheControl.Directive MIN_FRESH
S_MAX_AGE
public static final CacheControl.Directive S_MAX_AGE
PROXY_REVALIDATE
public static final CacheControl.Directive PROXY_REVALIDATE
values
public static CacheControl.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 (CacheControl.Directive c : CacheControl.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 CacheControl.Directive valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getValue
public java.lang.String getValue()
Copyright © 2008-2009. All Rights Reserved.