Package co.mastermindcms.client.config
Class ApplicationMvcConfig
- java.lang.Object
-
- co.mastermindcms.client.config.ApplicationMvcConfig
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @EnableWebMvc public class ApplicationMvcConfig extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
Field Summary
Fields Modifier and Type Field Description private CommonProperties
commonProperties
-
Constructor Summary
Constructors Constructor Description ApplicationMvcConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
void
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry 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, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Field Detail
-
commonProperties
@Autowired private CommonProperties commonProperties
-
-
Method Detail
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
- Specified by:
addResourceHandlers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addCorsMappings
public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
- Specified by:
addCorsMappings
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-