@EnableWebMvc
@Configuration
@ComponentScan(value={"controller","fiftyone.pipeline.web.mvc"})
public class ExampleConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
ExampleConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
FiftyOneInterceptorConfig |
fiftyOneInterceptorConfig() |
org.springframework.web.servlet.ViewResolver |
viewResolver() |
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddViewControllers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public FiftyOneInterceptorConfig fiftyOneInterceptorConfig()
@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
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.WebMvcConfigurerAdapterCopyright © 2020. All rights reserved.