@Configuration
@EnableWebMvc
@ComponentScan(basePackages={"org.aksw.gerbil.utils","org.aksw.gerbil.web","org.aksw.gerbil.datasets.datahub"})
public class WebMvcConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Configuration class handles the initialization of the MVC elements.| Constructor and Description |
|---|
WebMvcConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
org.springframework.web.multipart.commons.CommonsMultipartResolver |
multipartResolver() |
org.springframework.web.servlet.ViewResolver |
viewResolver() |
addArgumentResolvers, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, getMessageCodesResolver, getValidator@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
@Bean public org.springframework.web.multipart.commons.CommonsMultipartResolver multipartResolver()
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 © 2014–2017. All rights reserved.