@Configuration
@ComponentScan(basePackages={"org.dontpanic.spanners.springmvc.controllers","org.dontpanic.spanners.springmvc.signin","org.dontpanic.spanners.springmvc.error"})
public class WebMvcConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
| Constructor and Description |
|---|
WebMvcConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
org.springframework.context.MessageSource |
configureMessageSource() |
org.springframework.web.servlet.view.tiles3.TilesConfigurer |
configureTilesConfigurer() |
org.springframework.web.servlet.view.tiles3.TilesViewResolver |
configureTilesViewResolver() |
org.springframework.validation.Validator |
getValidator() |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
requestMappingHandlerMapping() |
addArgumentResolvers, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, defaultServletHandlerMapping, extendMessageConverters, getConfigurableWebBindingInitializer, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingpublic org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean(name="messageSource") public org.springframework.context.MessageSource configureMessageSource()
@Bean public org.springframework.web.servlet.view.tiles3.TilesViewResolver configureTilesViewResolver()
@Bean public org.springframework.web.servlet.view.tiles3.TilesConfigurer configureTilesConfigurer()
public org.springframework.validation.Validator getValidator()
getValidator in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportCopyright © 2015. All rights reserved.