Package org.restheart.exchange
Enum ExchangeKeys.REPRESENTATION_FORMAT
- java.lang.Object
-
- java.lang.Enum<ExchangeKeys.REPRESENTATION_FORMAT>
-
- org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
-
- All Implemented Interfaces:
Serializable,Comparable<ExchangeKeys.REPRESENTATION_FORMAT>
- Enclosing interface:
- ExchangeKeys
public static enum ExchangeKeys.REPRESENTATION_FORMAT extends Enum<ExchangeKeys.REPRESENTATION_FORMAT>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExchangeKeys.REPRESENTATION_FORMATvalueOf(String name)Returns the enum constant of this type with the specified name.static ExchangeKeys.REPRESENTATION_FORMAT[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HAL
public static final ExchangeKeys.REPRESENTATION_FORMAT HAL
-
SHAL
public static final ExchangeKeys.REPRESENTATION_FORMAT SHAL
-
STANDARD
public static final ExchangeKeys.REPRESENTATION_FORMAT STANDARD
-
S
public static final ExchangeKeys.REPRESENTATION_FORMAT S
-
PLAIN_JSON
public static final ExchangeKeys.REPRESENTATION_FORMAT PLAIN_JSON
-
PJ
public static final ExchangeKeys.REPRESENTATION_FORMAT PJ
-
-
Method Detail
-
values
public static ExchangeKeys.REPRESENTATION_FORMAT[] 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 (ExchangeKeys.REPRESENTATION_FORMAT c : ExchangeKeys.REPRESENTATION_FORMAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExchangeKeys.REPRESENTATION_FORMAT 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
-
-