@Configuration
@ComponentScan(value={"org.activiti.rest.exception","org.activiti.rest.service.api"})
@ConditionalOnClass(value=org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.class)
@EnableAsync
public class DispatcherServletConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
Constructor and Description |
---|
DispatcherServletConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.web.servlet.i18n.LocaleChangeInterceptor |
localeChangeInterceptor() |
org.springframework.web.servlet.i18n.SessionLocaleResolver |
localeResolver() |
org.springframework.web.multipart.MultipartResolver |
multipartResolver() |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
requestMappingHandlerMapping() |
addArgumentResolvers, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, defaultServletHandlerMapping, extendMessageConverters, getConfigurableWebBindingInitializer, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
@Bean public org.springframework.web.servlet.i18n.SessionLocaleResolver localeResolver()
@Bean public org.springframework.web.servlet.i18n.LocaleChangeInterceptor localeChangeInterceptor()
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
@Bean public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
configureContentNegotiation
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
Copyright © 2015 Alfresco. All rights reserved.