Package ee.datel.dogis.config
Class MvcConfiguration
java.lang.Object
ee.datel.dogis.config.MvcConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
public class MvcConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The configuration for Spring MVC.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) voidconfigureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer) Configure async support for Spring MVC.voidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Method Details
-
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) - Specified by:
configureMessageConvertersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
configureAsyncSupport
public void configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer) Configure async support for Spring MVC.- Specified by:
configureAsyncSupportin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-