@Configuration @EnableWebMvc public class WebMvcConfig extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Constructor and Description |
---|
WebMvcConfig() |
Modifier and Type | Method and Description |
---|---|
AccessConfirmationController |
accessConfirmationController(ClientDetailsService clientDetailsService,
ApprovalStore approvalStore) |
AdminController |
adminController(TokenStore tokenStore,
ConsumerTokenServices tokenServices,
SparklrUserApprovalHandler userApprovalHandler) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
ContentNegotiatingViewResolver |
contentViewResolver() |
PhotoController |
photoController(PhotoService photoService) |
PhotoServiceImpl |
photoServices() |
PhotoServiceUserController |
photoServiceUserController(PhotoService photoService) |
static PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, getMessageCodesResolver, getValidator
@Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
@Bean public ContentNegotiatingViewResolver contentViewResolver() throws Exception
Exception
@Bean public PhotoServiceUserController photoServiceUserController(PhotoService photoService)
@Bean public PhotoController photoController(PhotoService photoService)
@Bean public AccessConfirmationController accessConfirmationController(ClientDetailsService clientDetailsService, ApprovalStore approvalStore)
@Bean public PhotoServiceImpl photoServices()
@Bean public AdminController adminController(TokenStore tokenStore, @Qualifier(value="consumerTokenServices") ConsumerTokenServices tokenServices, SparklrUserApprovalHandler userApprovalHandler)
public void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
configureDefaultServletHandling
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Copyright © 2014. All rights reserved.