Interface MediaTypeConfigurationProvider


public interface MediaTypeConfigurationProvider
SPI used to register internal media types through spring.factories. WARNING: Do NOT implement this interface if you are coding a custom media type. See "Custom media type configuration" in the reference docs.
Author:
Oliver Drotbohm, Greg Turnquist
See Also:
  • Method Details

    • getConfiguration

      Class<? extends HypermediaMappingInformation> getConfiguration()
      Returns the primary Spring configuration class to be bootstrapped for the given media type.
      Returns:
    • supportsAny

      boolean supportsAny(Collection<MediaType> mediaTypes)
      Returns whether the provider supports any of the given MediaTypes. Used to select the providers to be included into a configuration setup in case the media types to be enabled are explicitly defined.
      Parameters:
      mediaTypes - will never be null.
      Returns: