java.lang.Object
org.springframework.cloud.dataflow.server.config.web.WebConfiguration
All Implemented Interfaces:
EventListener, org.springframework.boot.web.servlet.ServletContextInitializer, ApplicationListener<ContextClosedEvent>

@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication public class WebConfiguration extends Object implements org.springframework.boot.web.servlet.ServletContextInitializer, ApplicationListener<ContextClosedEvent>
Author:
Mark Fisher, Marius Bogoevici, Patrick Peralta, Gunnar Hillert, Ilayaperumal Gopinathan, Mark Pollack, Christian Tzolov, David Turanski, Michael Wirth, Chris Bono, Corneil du Plessis
  • Constructor Details

    • WebConfiguration

      public WebConfiguration()
  • Method Details

    • onStartup

      public void onStartup(jakarta.servlet.ServletContext servletContext)
      Specified by:
      onStartup in interface org.springframework.boot.web.servlet.ServletContextInitializer
    • messageConverters

      @Bean public org.springframework.boot.autoconfigure.http.HttpMessageConverters messageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • configurer

      @Bean public WebMvcConfigurer configurer()
    • dataflowObjectMapperBuilderCustomizer

      @Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer dataflowObjectMapperBuilderCustomizer()
    • relProviderOverridingBeanPostProcessor

      @Bean public BeanPostProcessor relProviderOverridingBeanPostProcessor()
    • onApplicationEvent

      public void onApplicationEvent(ContextClosedEvent event)
      Specified by:
      onApplicationEvent in interface ApplicationListener<ContextClosedEvent>