Class MediaTypes
- java.lang.Object
-
- com.toedter.spring.hateoas.jsonapi.MediaTypes
-
public class MediaTypes extends java.lang.Object
Provides the JSON:API media typeapplication/vnd.api+json
.
-
-
Field Summary
Fields Modifier and Type Field Description static org.springframework.http.MediaType
JSON_API
Public constant media type forapplication/vnd.api+json
.static java.lang.String
JSON_API_VALUE
A String equivalent of the JSON:API media type
-
-
-
Field Detail
-
JSON_API_VALUE
public static final java.lang.String JSON_API_VALUE
A String equivalent of the JSON:API media type- See Also:
- Constant Field Values
-
JSON_API
public static final org.springframework.http.MediaType JSON_API
Public constant media type forapplication/vnd.api+json
.
-
-