Enum Class Dimension

java.lang.Object
java.lang.Enum<Dimension>
org.restlet.data.Dimension
All Implemented Interfaces:
Serializable, Comparable<Dimension>, Constable

public enum Dimension extends Enum<Dimension>
Dimension on which the representations of a resource may vary. Note that when used with HTTP connectors, this class maps to the "Vary" header.
Author:
Jerome Louvel, Piyush Purang (ppurang@gmail.com)
See Also:
  • Enum Constant Details

    • AUTHORIZATION

      public static final Dimension AUTHORIZATION
    • CHARACTER_SET

      public static final Dimension CHARACTER_SET
    • CLIENT_ADDRESS

      public static final Dimension CLIENT_ADDRESS
    • CLIENT_AGENT

      public static final Dimension CLIENT_AGENT
    • UNSPECIFIED

      public static final Dimension UNSPECIFIED
    • ENCODING

      public static final Dimension ENCODING
    • LANGUAGE

      public static final Dimension LANGUAGE
    • MEDIA_TYPE

      public static final Dimension MEDIA_TYPE
    • TIME

      public static final Dimension TIME
    • ORIGIN

      public static final Dimension ORIGIN
  • Method Details

    • values

      public static Dimension[] 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 Dimension 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