@Configuration @EnableWebMvc @ComponentScan(basePackages="eu.europeana.api2demo.web.controller") @Import(value=OAuth2Config.class) public class WebMvcConfig extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
WebMvcConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
org.springframework.web.servlet.view.ContentNegotiatingViewResolver |
contentViewResolver() |
org.springframework.web.servlet.ViewResolver |
viewResolver() |
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, 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.web.servlet.view.ContentNegotiatingViewResolver contentViewResolver()
throws Exception
Exception@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
Copyright © 2016 Europeana Foundation. All rights reserved.