Enum Class EnableHypermediaSupport.HypermediaType
java.lang.Object
java.lang.Enum<EnableHypermediaSupport.HypermediaType>
org.springframework.hateoas.config.EnableHypermediaSupport.HypermediaType
- All Implemented Interfaces:
Serializable
,Comparable<EnableHypermediaSupport.HypermediaType>
,Constable
- Enclosing class:
- EnableHypermediaSupport
public static enum EnableHypermediaSupport.HypermediaType
extends Enum<EnableHypermediaSupport.HypermediaType>
Hypermedia representation types supported.
- Author:
- Oliver Gierke, Greg Turnquist
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCollection+JSONHAL - Hypermedia Application Language.HAL-FORMS - Independent, backward-compatible extension of the HAL designed to add runtime FORM supportUBER Hypermedia -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HAL
HAL - Hypermedia Application Language. -
HAL_FORMS
HAL-FORMS - Independent, backward-compatible extension of the HAL designed to add runtime FORM support -
HTTP_PROBLEM_DETAILS
-
COLLECTION_JSON
Collection+JSON -
UBER
UBER Hypermedia
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getMediaType
-
getLocalPackageName
-