Class RestConfiguration

java.lang.Object
org.tailormap.api.configuration.RestConfiguration
All Implemented Interfaces:
org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer

@Configuration public class RestConfiguration extends Object implements org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
  • Constructor Summary

    Constructors
    Constructor
    Description
    RestConfiguration(jakarta.persistence.EntityManager entityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureRepositoryRestConfiguration(org.springframework.data.rest.core.config.RepositoryRestConfiguration config, org.springframework.web.servlet.config.annotation.CorsRegistry cors)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer

    configureConversionService, configureExceptionHandlerExceptionResolver, configureHttpMessageConverters, configureJacksonObjectMapper, configureValidatingRepositoryEventListener, customizeAuditableBeanWrapperFactory, customizeLinkCollector
  • Constructor Details

    • RestConfiguration

      public RestConfiguration(jakarta.persistence.EntityManager entityManager)
  • Method Details

    • configureRepositoryRestConfiguration

      public void configureRepositoryRestConfiguration(org.springframework.data.rest.core.config.RepositoryRestConfiguration config, org.springframework.web.servlet.config.annotation.CorsRegistry cors)
      Specified by:
      configureRepositoryRestConfiguration in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer