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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer
org.springframework.boot.autoconfigure.http.HttpMessageConverters
messageConverters
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) void
void
onStartup
(jakarta.servlet.ServletContext servletContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
onStartup
in 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:
onApplicationEvent
in interfaceApplicationListener<ContextClosedEvent>
-