Enum Class ClientCacheType

java.lang.Object
java.lang.Enum<ClientCacheType>
org.iplass.mtp.web.actionmapping.definition.ClientCacheType
すべての実装されたインタフェース:
Serializable, Comparable<ClientCacheType>, Constable

public enum ClientCacheType extends Enum<ClientCacheType>
クライアントキャッシュ指定(Cache-Controlヘッダ)の種別です。
  • 列挙型定数の詳細

    • CACHE

      public static final ClientCacheType CACHE
      キャッシュを許可します。 具体的にはCache-Controlをprivate指定します。 CACHEを指定する場合は、合わせてclientCacheMaxAgeも指定してください。
    • CACHE_PUBLIC

      public static final ClientCacheType CACHE_PUBLIC
      キャッシュを許可します。 具体的にはCache-Controlをpublic指定します。 CACHE_PUBLICを指定する場合は、合わせてclientCacheMaxAgeも指定してください。
    • NO_CACHE

      public static final ClientCacheType NO_CACHE
      キャッシュを許可しません。 具体的にはCache-Controlをprivate, no-store, no-cache, must-revalidate指定します (加えて、HTTP/1.0の場合は、Pragmaをno-cache指定します)。
  • メソッドの詳細

    • values

      public static ClientCacheType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      戻り値:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ClientCacheType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 引数がnullの場合