Class RestApiConfig

java.lang.Object
com.aquima.web.rest.v1.RestApiConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@EnableWebMvc @RestApiConfiguration(basePackages={"com.aquima.web.rest.v1","com.blueriq.component.development.api.v2.config.swagger"}) public class RestApiConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
This class is instantiated in the child context of REST's DispatcherServlet and is used to trigger a component scan for the REST Controllers.
Since:
10.0
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     

    Methods inherited from class java.lang.Object Link icon

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

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer Link icon

    addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details Link icon

    • RestApiConfig Link icon

      public RestApiConfig()
  • Method Details Link icon

    • addInterceptors Link icon

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer