Class MediaTypes


  • public class MediaTypes
    extends java.lang.Object
    Provides the JSON:API media type application/vnd.api+json.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.springframework.http.MediaType JSON_API
      Public constant media type for application/vnd.api+json.
      static java.lang.String JSON_API_VALUE
      A String equivalent of the JSON:API media type
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 for application/vnd.api+json.