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

java.lang.Object
  extended by java.lang.Enum<CacheControlUtil.Directive>
      extended by 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
MAXAGE
           
MAXSTALE
           
MINFRESH
           
MUSTREVALIDATE
           
NOCACHE
           
NOSTORE
           
NOTRANSFORM
           
ONLYIFCACHED
           
PRIVATE
           
PROXYREVALIDATE
           
PUBLIC
           
SMAXAGE
           
UNKNOWN
           
 
Method Summary
static CacheControlUtil.Directive select(String d)
           
static CacheControlUtil.Directive valueOf(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.
 
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
 

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 name
NullPointerException - if the argument is null

select

public static CacheControlUtil.Directive select(String d)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.