@Configuration @ConditionalOnWebApplication protected static class SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration extends WebMvcConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
SitePreferenceMvcConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
void |
addInterceptors(InterceptorRegistry registry) |
org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor |
sitePreferenceHandlerInterceptor() |
org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver |
sitePreferenceHandlerMethodArgumentResolver() |
addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureCors, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean @ConditionalOnMissingBean(value=org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor.class) public org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor sitePreferenceHandlerInterceptor()
@Bean public org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver sitePreferenceHandlerMethodArgumentResolver()
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 © 2015 Pivotal Software, Inc.. All rights reserved.