Class WebConfiguration
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizerorg.springframework.boot.autoconfigure.http.HttpMessageConvertersmessageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper) voidvoidonStartup(jakarta.servlet.ServletContext servletContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
WebConfiguration
public WebConfiguration()
-
-
Method Details
-
onStartup
public void onStartup(jakarta.servlet.ServletContext servletContext) - Specified by:
onStartupin interfaceorg.springframework.boot.web.servlet.ServletContextInitializer
-
messageConverters
@Bean public org.springframework.boot.autoconfigure.http.HttpMessageConverters messageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
configurer
-
dataflowObjectMapperBuilderCustomizer
@Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer dataflowObjectMapperBuilderCustomizer() -
relProviderOverridingBeanPostProcessor
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<ContextClosedEvent>
-