Class ServletWebServerFactoryAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration
@Configuration @AutoConfigureOrder(-2147483648) @ConditionalOnClass(javax.servlet.ServletRequest.class) @ConditionalOnWebApplication(type=SERVLET) @EnableConfigurationProperties(ServerProperties.class) @Import({BeanPostProcessorsRegistrar.class,org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration.EmbeddedTomcat.class,org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration.EmbeddedJetty.class,org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration.EmbeddedUndertow.class}) public class ServletWebServerFactoryAutoConfiguration extends Object
Auto-configuration
for servlet web servers.
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServletWebServerFactoryAutoConfiguration.BeanPostProcessorsRegistrar
Registers aWebServerFactoryCustomizerBeanPostProcessor
.
Constructor Summary
Constructors Constructor Description ServletWebServerFactoryAutoConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServletWebServerFactoryCustomizer
servletWebServerFactoryCustomizer(ServerProperties serverProperties)
TomcatServletWebServerFactoryCustomizer
tomcatServletWebServerFactoryCustomizer(ServerProperties serverProperties)
Constructor Detail
ServletWebServerFactoryAutoConfiguration
public ServletWebServerFactoryAutoConfiguration()
Method Detail
servletWebServerFactoryCustomizer
@Bean public ServletWebServerFactoryCustomizer servletWebServerFactoryCustomizer(ServerProperties serverProperties)
tomcatServletWebServerFactoryCustomizer
@Bean @ConditionalOnClass(name="org.apache.catalina.startup.Tomcat") public TomcatServletWebServerFactoryCustomizer tomcatServletWebServerFactoryCustomizer(ServerProperties serverProperties)