com.bradmcevoy.http
Enum Response.CacheControlResponse
java.lang.Object
java.lang.Enum<Response.CacheControlResponse>
com.bradmcevoy.http.Response.CacheControlResponse
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Response.CacheControlResponse>
- Enclosing interface:
- Response
public static enum Response.CacheControlResponse
- extends java.lang.Enum<Response.CacheControlResponse>
|
Field Summary |
java.lang.String |
code
|
| 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 |
PUBLIC
public static final Response.CacheControlResponse PUBLIC
PRIVATE
public static final Response.CacheControlResponse PRIVATE
NO_CACHE
public static final Response.CacheControlResponse NO_CACHE
NO_STORE
public static final Response.CacheControlResponse NO_STORE
NO_TRANSFORM
public static final Response.CacheControlResponse NO_TRANSFORM
MUST_REVALIDATE
public static final Response.CacheControlResponse MUST_REVALIDATE
PROXY_REVALIDATE
public static final Response.CacheControlResponse PROXY_REVALIDATE
MAX_AGE
public static final Response.CacheControlResponse MAX_AGE
S_MAX_AGE
public static final Response.CacheControlResponse S_MAX_AGE
CACHE_EXT
public static final Response.CacheControlResponse CACHE_EXT
code
public java.lang.String code
values
public static Response.CacheControlResponse[] 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 (Response.CacheControlResponse c : Response.CacheControlResponse.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Response.CacheControlResponse 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
Copyright © 2011. All Rights Reserved.