@Configuration @ConditionalOnWebApplication @Order(value=0) protected static class DeviceResolverAutoConfiguration.DeviceResolverMvcConfiguration extends WebMvcConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
DeviceResolverMvcConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
void |
addInterceptors(InterceptorRegistry registry) |
org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver |
deviceHandlerMethodArgumentResolver() |
org.springframework.mobile.device.DeviceResolverHandlerInterceptor |
deviceResolverHandlerInterceptor() |
addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean @ConditionalOnMissingBean(value=org.springframework.mobile.device.DeviceResolverHandlerInterceptor.class) public org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor()
@Bean public org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver()
public void addInterceptors(InterceptorRegistry registry)
addInterceptors
in interface WebMvcConfigurer
addInterceptors
in class WebMvcConfigurerAdapter
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in interface WebMvcConfigurer
addArgumentResolvers
in class WebMvcConfigurerAdapter
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.