public static enum EnableHypermediaSupport.HypermediaType extends Enum<EnableHypermediaSupport.HypermediaType>
Enum Constant and Description |
---|
COLLECTION_JSON
Collection+JSON
|
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 |
UBER
UBER Hypermedia
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
getMediaTypes() |
static EnableHypermediaSupport.HypermediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnableHypermediaSupport.HypermediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableHypermediaSupport.HypermediaType HAL
http://stateless.co/hal_specification.html
,
https://tools.ietf.org/html/draft-kelly-json-hal-05
public static final EnableHypermediaSupport.HypermediaType HAL_FORMS
https://rwcbook.github.io/hal-forms/
public static final EnableHypermediaSupport.HypermediaType HTTP_PROBLEM_DETAILS
public static final EnableHypermediaSupport.HypermediaType COLLECTION_JSON
http://amundsen.com/media-types/collection/format/
public static final EnableHypermediaSupport.HypermediaType UBER
https://rawgit.com/uber-hypermedia/specification/master/uber-hypermedia.html
public static EnableHypermediaSupport.HypermediaType[] values()
for (EnableHypermediaSupport.HypermediaType c : EnableHypermediaSupport.HypermediaType.values()) System.out.println(c);
public static EnableHypermediaSupport.HypermediaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2021 VMware, Inc.. All rights reserved.