Class TomcatWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.embedded.TomcatWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>
,Ordered
public class TomcatWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>, Ordered
Customization for Tomcat-specific features common for both Servlet and Reactive
servers.
- Since:
- 2.0.0
- Author:
- Brian Clozel, Yulin Qin, Stephane Nicoll, Phillip Webb, Artsiom Yudovin, Chentao Qu, Andrew McGhie, Dirk Deyne, Rafiullah Hamedy, Victor Mandujano, Parviz Rozikov
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionTomcatWebServerFactoryCustomizer
(Environment environment, ServerProperties serverProperties) -
Method Summary
-
Constructor Details
-
TomcatWebServerFactoryCustomizer
-
-
Method Details
-
getOrder
public int getOrder() -
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-