Class SimpleResourceDescription

java.lang.Object
org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
org.springframework.data.rest.core.mapping.SimpleResourceDescription
All Implemented Interfaces:
MessageSourceResolvable, ResourceDescription
Direct Known Subclasses:
TypedResourceDescription

public class SimpleResourceDescription extends ResolvableResourceDescriptionSupport
Author:
Oliver Gierke
  • Field Details

  • Constructor Details

    • SimpleResourceDescription

      protected SimpleResourceDescription(String message, MediaType mediaType)
      Creates a new SimpleResourceDescription with the given message and MediaType.
      Parameters:
      message - must not be null or empty.
      mediaType - must not be null or empty.
  • Method Details