Class ReactiveWebServerFactoryAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryAutoConfiguration
@AutoConfigureOrder(-2147483648)
@AutoConfiguration
@ConditionalOnClass(org.springframework.http.ReactiveHttpInputMessage.class)
@ConditionalOnWebApplication(type=REACTIVE)
@EnableConfigurationProperties(ServerProperties.class)
@Import({BeanPostProcessorsRegistrar.class,org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryConfiguration.EmbeddedTomcat.class,org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryConfiguration.EmbeddedJetty.class,org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryConfiguration.EmbeddedUndertow.class,org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryConfiguration.EmbeddedNetty.class})
public class ReactiveWebServerFactoryAutoConfiguration
extends Object
Auto-configuration
for a reactive web server.- Since:
- 2.0.0
- Author:
- Brian Clozel
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Registers aWebServerFactoryCustomizerBeanPostProcessor
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactiveWebServerFactoryCustomizer
(ServerProperties serverProperties) tomcatReactiveWebServerFactoryCustomizer
(ServerProperties serverProperties)
-
Constructor Details
-
ReactiveWebServerFactoryAutoConfiguration
public ReactiveWebServerFactoryAutoConfiguration()
-
-
Method Details
-
reactiveWebServerFactoryCustomizer
@Bean public ReactiveWebServerFactoryCustomizer reactiveWebServerFactoryCustomizer(ServerProperties serverProperties) -
tomcatReactiveWebServerFactoryCustomizer
@Bean @ConditionalOnClass(name="org.apache.catalina.startup.Tomcat") public TomcatReactiveWebServerFactoryCustomizer tomcatReactiveWebServerFactoryCustomizer(ServerProperties serverProperties) -
forwardedHeaderTransformer
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="server.forward-headers-strategy", havingValue="framework") public ForwardedHeaderTransformer forwardedHeaderTransformer()
-