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.ObjectMapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • objectMapper

      @Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • DispatcherServletConfiguration

      public DispatcherServletConfiguration()
  • Method Details

    • configureMessageConverters

      public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
      Overrides:
      configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport