@Configuration @ConditionalOnWebApplication(type=SERVLET) @EnableConfigurationProperties(value=ServerProperties.class) @Import(value=ServletWebServerFactoryAutoConfiguration.BeanPostProcessorsRegistrar.class) public class ServletWebServerFactoryAutoConfiguration extends Object
Auto-configuration
for servlet web servers.Modifier and Type | Class and Description |
---|---|
static class |
ServletWebServerFactoryAutoConfiguration.BeanPostProcessorsRegistrar
Registers a
WebServerFactoryCustomizerBeanPostProcessor . |
static class |
ServletWebServerFactoryAutoConfiguration.EmbeddedJetty
Nested configuration if Jetty is being used.
|
static class |
ServletWebServerFactoryAutoConfiguration.EmbeddedTomcat
Nested configuration if Tomcat is being used.
|
static class |
ServletWebServerFactoryAutoConfiguration.EmbeddedUndertow
Nested configuration if Undertow is being used.
|
Constructor and Description |
---|
ServletWebServerFactoryAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DefaultServletWebServerFactoryCustomizer |
serverPropertiesWebServerFactoryCustomizer(ServerProperties serverProperties) |
public ServletWebServerFactoryAutoConfiguration()
@Bean @ConditionalOnMissingBean public DefaultServletWebServerFactoryCustomizer serverPropertiesWebServerFactoryCustomizer(ServerProperties serverProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.