@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication public class WebConfiguration extends Object implements org.springframework.boot.web.servlet.ServletContextInitializer, ApplicationListener<ContextClosedEvent>
Constructor and Description |
---|
WebConfiguration() |
Modifier and Type | Method and Description |
---|---|
WebMvcConfigurer |
configurer() |
org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer |
dataflowObjectMapperBuilderCustomizer() |
org.springframework.boot.autoconfigure.http.HttpMessageConverters |
messageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
void |
onApplicationEvent(ContextClosedEvent event) |
void |
onStartup(javax.servlet.ServletContext servletContext) |
BeanPostProcessor |
relProviderOverridingBeanPostProcessor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forPayload
public void onStartup(javax.servlet.ServletContext servletContext)
onStartup
in interface org.springframework.boot.web.servlet.ServletContextInitializer
@Bean public org.springframework.boot.autoconfigure.http.HttpMessageConverters messageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean public WebMvcConfigurer configurer()
@Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer dataflowObjectMapperBuilderCustomizer()
@Bean public BeanPostProcessor relProviderOverridingBeanPostProcessor()
public void onApplicationEvent(ContextClosedEvent event)
onApplicationEvent
in interface ApplicationListener<ContextClosedEvent>
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.