Enum ActionReturn.Header
- java.lang.Object
-
- java.lang.Enum<ActionReturn.Header>
-
- org.sakaiproject.entitybroker.entityprovider.extension.ActionReturn.Header
-
- All Implemented Interfaces:
Serializable,Comparable<ActionReturn.Header>
- Enclosing class:
- ActionReturn
public static enum ActionReturn.Header extends Enum<ActionReturn.Header>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE_CONTROLDATEETAGEXPIRESLAST_MODIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static ActionReturn.HeadervalueOf(String name)Returns the enum constant of this type with the specified name.static ActionReturn.Header[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPIRES
public static final ActionReturn.Header EXPIRES
-
DATE
public static final ActionReturn.Header DATE
-
ETAG
public static final ActionReturn.Header ETAG
-
LAST_MODIFIED
public static final ActionReturn.Header LAST_MODIFIED
-
CACHE_CONTROL
public static final ActionReturn.Header CACHE_CONTROL
-
-
Method Detail
-
values
public static ActionReturn.Header[] 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 (ActionReturn.Header c : ActionReturn.Header.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionReturn.Header 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<ActionReturn.Header>
-
-