Class RestApiConfig

  • All Implemented Interfaces:
    org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer

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

      Constructors 
      Constructor Description
      RestApiConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer

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

      • RestApiConfig

        public RestApiConfig()
    • Method Detail

      • 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