Enum Class ContentResponse.CacheState

java.lang.Object
java.lang.Enum<ContentResponse.CacheState>
com.oracle.content.sdk.ContentResponse.CacheState
All Implemented Interfaces:
Serializable, Comparable<ContentResponse.CacheState>, Constable
Enclosing class:
ContentResponse<C extends AssetObject>

public static enum ContentResponse.CacheState extends Enum<ContentResponse.CacheState>
The state of the response, such as whether it came from network or cached.
  • Enum Constant Details

  • Method Details

    • values

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

      public static ContentResponse.CacheState 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null