@Configuration @EnableWebMvc public abstract class AbstractSpringMvcConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
AbstractSpringMvcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
abstract void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.context.MessageSource |
messageSource() |
org.springframework.web.multipart.MultipartResolver |
multipartResolver() |
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
org.springframework.web.servlet.view.InternalResourceViewResolver |
viewResolver() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
public abstract void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public org.springframework.web.servlet.view.InternalResourceViewResolver viewResolver()
@Bean public org.springframework.context.MessageSource messageSource()
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
Copyright © 2019 Anteros Tecnologia. All rights reserved.