类 TomcatWebServerFactoryCustomizer
- java.lang.Object
- org.springframework.boot.autoconfigure.web.embedded.TomcatWebServerFactoryCustomizer
- 所有已实现的接口:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.ConfigurableTomcatWebServerFactory>
,org.springframework.core.Ordered
public class TomcatWebServerFactoryCustomizer extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.ConfigurableTomcatWebServerFactory>, org.springframework.core.Ordered
Customization for Tomcat-specific features common for both Servlet and Reactive servers.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 TomcatWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
构造器详细资料
TomcatWebServerFactoryCustomizer
public TomcatWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
方法详细资料
getOrder
public int getOrder()
- 指定者:
getOrder
在接口中org.springframework.core.Ordered
customize
public void customize(org.springframework.boot.web.embedded.tomcat.ConfigurableTomcatWebServerFactory factory)
- 指定者:
customize
在接口中org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.ConfigurableTomcatWebServerFactory>