Class TomcatWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.tomcat.autoconfigure.TomcatWebServerFactoryCustomizer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>,org.springframework.core.Ordered
public class TomcatWebServerFactoryCustomizer
extends Object
implements org.springframework.boot.web.server.WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>, org.springframework.core.Ordered
Customization for Tomcat-specific features common to both Servlet and Reactive servers.
- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionTomcatWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, org.springframework.boot.web.server.autoconfigure.ServerProperties serverProperties, TomcatServerProperties tomcatProperties) -
Method Summary
-
Constructor Details
-
TomcatWebServerFactoryCustomizer
public TomcatWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, org.springframework.boot.web.server.autoconfigure.ServerProperties serverProperties, TomcatServerProperties tomcatProperties)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
customize
- Specified by:
customizein interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>
-