Enum ActionMapping.ClientCacheType
- java.lang.Object
-
- java.lang.Enum<ActionMapping.ClientCacheType>
-
- org.iplass.mtp.command.annotation.action.ActionMapping.ClientCacheType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ActionMapping.ClientCacheType>,java.lang.constant.Constable
- Enclosing class:
- ActionMapping
public static enum ActionMapping.ClientCacheType extends java.lang.Enum<ActionMapping.ClientCacheType>
クライアントのキャッシュ設定のenumです。
CACHE : "Cache-Control:private"をセット
CACHE_PUBLIC : "Cache-Control:public"をセット
NO_CACHE : "Cache-Control:no-store,no-cache"をセット
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHECACHE_PUBLICNO_CACHEUNSPECIFIED
-
Method Summary
Modifier and Type Method Description static ActionMapping.ClientCacheTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ActionMapping.ClientCacheType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE
public static final ActionMapping.ClientCacheType CACHE
-
CACHE_PUBLIC
public static final ActionMapping.ClientCacheType CACHE_PUBLIC
-
NO_CACHE
public static final ActionMapping.ClientCacheType NO_CACHE
-
UNSPECIFIED
public static final ActionMapping.ClientCacheType UNSPECIFIED
-
-
Method Detail
-
values
public static ActionMapping.ClientCacheType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionMapping.ClientCacheType 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 namejava.lang.NullPointerException- if the argument is null
-
-