@Configuration
public class InterceptorRegistry
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
WebMvcConfigurerAdapter to add RequestNameHandlerInterceptorAdapter
instead of overriding @EnableWebMvc annotation.| Constructor and Description |
|---|
InterceptorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
addArgumentResolvers, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, getValidatorpublic 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