Class WebMvcConfig

java.lang.Object
net.andresbustamante.yafoot.core.web.config.WebMvcConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @Profile({"development","production"}) public class WebMvcConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
MVC interceptors config.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebMvcConfig(net.andresbustamante.yafoot.core.services.PlayerManagementService playerManagementService, net.andresbustamante.yafoot.core.services.PlayerSearchService playerSearchService)
    Public constructor.
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

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

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

    • WebMvcConfig

      public WebMvcConfig(net.andresbustamante.yafoot.core.services.PlayerManagementService playerManagementService, net.andresbustamante.yafoot.core.services.PlayerSearchService playerSearchService)
      Public constructor.
      Parameters:
      playerManagementService -
      playerSearchService -
  • Method Details

    • addInterceptors

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