org.apache.abdera.protocol.util
Enum CacheControlParser.Directive

java.lang.Object
  extended by java.lang.Enum<CacheControlParser.Directive>
      extended by org.apache.abdera.protocol.util.CacheControlParser.Directive
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CacheControlParser.Directive>
Enclosing class:
CacheControlParser

public static enum CacheControlParser.Directive
extends java.lang.Enum<CacheControlParser.Directive>


Enum Constant Summary
MAXAGE
           
MAXSTALE
           
MINFRESH
           
MUSTREVALIDATE
           
NOCACHE
           
NOSTORE
           
NOTRANSFORM
           
ONLYIFCACHED
           
PRIVATE
           
PROXYREVALIDATE
           
PUBLIC
           
SMAXAGE
           
UNKNOWN
           
 
Method Summary
static CacheControlParser.Directive select(java.lang.String d)
           
static CacheControlParser.Directive valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CacheControlParser.Directive[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAXAGE

public static final CacheControlParser.Directive MAXAGE

MAXSTALE

public static final CacheControlParser.Directive MAXSTALE

MINFRESH

public static final CacheControlParser.Directive MINFRESH

NOCACHE

public static final CacheControlParser.Directive NOCACHE

NOSTORE

public static final CacheControlParser.Directive NOSTORE

NOTRANSFORM

public static final CacheControlParser.Directive NOTRANSFORM

ONLYIFCACHED

public static final CacheControlParser.Directive ONLYIFCACHED

MUSTREVALIDATE

public static final CacheControlParser.Directive MUSTREVALIDATE

PRIVATE

public static final CacheControlParser.Directive PRIVATE

PROXYREVALIDATE

public static final CacheControlParser.Directive PROXYREVALIDATE

PUBLIC

public static final CacheControlParser.Directive PUBLIC

SMAXAGE

public static final CacheControlParser.Directive SMAXAGE

UNKNOWN

public static final CacheControlParser.Directive UNKNOWN
Method Detail

values

public static final CacheControlParser.Directive[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CacheControlParser.Directive c : CacheControlParser.Directive.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CacheControlParser.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

select

public static CacheControlParser.Directive select(java.lang.String d)