@Configuration
@EnableWebMvc
@ComponentScan(basePackages="com.demo.ecom.app.web.admin.controller")
public class EcomAdminContextConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
EcomAdminContextConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
org.springframework.web.servlet.ViewResolver |
InternalResourceViewResolver() |
org.springframework.web.servlet.LocaleResolver |
localeResolver() |
org.springframework.context.MessageSource |
messageSource() |
org.springframework.web.multipart.MultipartResolver |
multipartResolver() |
addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.context.MessageSource messageSource()
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.web.servlet.ViewResolver InternalResourceViewResolver()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2016. All rights reserved.