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

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

public enum ServerCacheControlType
extends java.lang.Enum<ServerCacheControlType>

Java class for serverCacheControlType.

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

 <simpleType name="serverCacheControlType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="no-cache"/>
     <enumeration value="public"/>
     <enumeration value="private"/>
     <enumeration value="no-store"/>
     <enumeration value="no-transform"/>
     <enumeration value="must-revalidate"/>
     <enumeration value="proxy-revalidate"/>
     <enumeration value="max-age"/>
     <enumeration value="s-max-age"/>
     <enumeration value="cache-extension"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CACHE_EXTENSION
           
MAX_AGE
           
MUST_REVALIDATE
           
NO_CACHE
           
NO_STORE
           
NO_TRANSFORM
           
PRIVATE
           
PROXY_REVALIDATE
           
PUBLIC
           
S_MAX_AGE
           
 
Method Summary
static ServerCacheControlType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static ServerCacheControlType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ServerCacheControlType[] 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

CACHE_EXTENSION

public static final ServerCacheControlType CACHE_EXTENSION

MAX_AGE

public static final ServerCacheControlType MAX_AGE

MUST_REVALIDATE

public static final ServerCacheControlType MUST_REVALIDATE

NO_CACHE

public static final ServerCacheControlType NO_CACHE

NO_STORE

public static final ServerCacheControlType NO_STORE

NO_TRANSFORM

public static final ServerCacheControlType NO_TRANSFORM

PRIVATE

public static final ServerCacheControlType PRIVATE

PROXY_REVALIDATE

public static final ServerCacheControlType PROXY_REVALIDATE

PUBLIC

public static final ServerCacheControlType PUBLIC

S_MAX_AGE

public static final ServerCacheControlType S_MAX_AGE
Method Detail

values

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

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

valueOf

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

value

public java.lang.String value()

fromValue

public static ServerCacheControlType fromValue(java.lang.String v)


Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.