Apache CXF API

org.apache.cxf.transports.http.configuration
Enum ClientCacheControlType

java.lang.Object
  extended by java.lang.Enum<ClientCacheControlType>
      extended by org.apache.cxf.transports.http.configuration.ClientCacheControlType
All Implemented Interfaces:
Serializable, Comparable<ClientCacheControlType>

public enum ClientCacheControlType
extends Enum<ClientCacheControlType>

Java class for clientCacheControlType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="clientCacheControlType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="no-cache"/>
     <enumeration value="no-store"/>
     <enumeration value="max-age"/>
     <enumeration value="max-stale"/>
     <enumeration value="min-fresh"/>
     <enumeration value="no-transform"/>
     <enumeration value="only-if-cached"/>
     <enumeration value="cache-extension"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CACHE_EXTENSION
           
MAX_AGE
           
MAX_STALE
           
MIN_FRESH
           
NO_CACHE
           
NO_STORE
           
NO_TRANSFORM
           
ONLY_IF_CACHED
           
 
Method Summary
static ClientCacheControlType fromValue(String v)
           
 String value()
           
static ClientCacheControlType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClientCacheControlType[] 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

NO_CACHE

public static final ClientCacheControlType NO_CACHE

NO_STORE

public static final ClientCacheControlType NO_STORE

MAX_AGE

public static final ClientCacheControlType MAX_AGE

MAX_STALE

public static final ClientCacheControlType MAX_STALE

MIN_FRESH

public static final ClientCacheControlType MIN_FRESH

NO_TRANSFORM

public static final ClientCacheControlType NO_TRANSFORM

ONLY_IF_CACHED

public static final ClientCacheControlType ONLY_IF_CACHED

CACHE_EXTENSION

public static final ClientCacheControlType CACHE_EXTENSION
Method Detail

values

public static final ClientCacheControlType[] 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(ClientCacheControlType c : ClientCacheControlType.values())
        System.out.println(c);

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

valueOf

public static ClientCacheControlType 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

value

public String value()

fromValue

public static ClientCacheControlType fromValue(String v)

Apache CXF API

Apache CXF