Package org.flowable.spring.boot
Class DispatcherServletConfiguration
- java.lang.Object
-
- org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- org.flowable.spring.boot.DispatcherServletConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.web.context.ServletContextAware
@Configuration(proxyBeanMethods=false) @ComponentScan(basePackageClasses=org.flowable.common.rest.exception.BaseExceptionHandlerAdvice.class) @ConditionalOnClass(org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.class) @EnableAsync public class DispatcherServletConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
Base dispatcher configuration that can be used to configure context for the REST API.
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description DispatcherServletConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)org.springframework.web.multipart.MultipartResolvermultipartResolver()-
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, flashMapManager, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, localeResolver, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcPatternParser, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, themeResolver, viewControllerHandlerMapping, viewNameTranslator
-
-
-
-
Method Detail
-
multipartResolver
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
-
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
- Overrides:
configureMessageConvertersin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
-