Class RestMediaTypes

java.lang.Object
org.springframework.data.rest.webmvc.RestMediaTypes

public class RestMediaTypes extends Object
Constants to refer to supported media types.
Author:
Oliver Gierke, Greg Turnquist
  • Field Details

    • HAL_JSON

      public static final MediaType HAL_JSON
    • JSON_PATCH_JSON

      public static final MediaType JSON_PATCH_JSON
    • MERGE_PATCH_JSON

      public static final MediaType MERGE_PATCH_JSON
    • SCHEMA_JSON_VALUE

      public static final String SCHEMA_JSON_VALUE
      See Also:
    • SCHEMA_JSON

      public static final MediaType SCHEMA_JSON
    • SPRING_DATA_VERBOSE_JSON

      public static final MediaType SPRING_DATA_VERBOSE_JSON
    • SPRING_DATA_COMPACT_JSON_VALUE

      public static final String SPRING_DATA_COMPACT_JSON_VALUE
      See Also:
    • SPRING_DATA_COMPACT_JSON

      public static final MediaType SPRING_DATA_COMPACT_JSON
    • TEXT_URI_LIST_VALUE

      public static final String TEXT_URI_LIST_VALUE
      See Also:
    • TEXT_URI_LIST

      public static final MediaType TEXT_URI_LIST
  • Constructor Details

    • RestMediaTypes

      public RestMediaTypes()