public interface ConfigurableTomcatWebServerFactory extends ConfigurableWebServerFactory
ConfigurableWebServerFactory for Tomcat-specific features.TomcatServletWebServerFactory, 
TomcatReactiveWebServerFactory| Modifier and Type | Method and Description | 
|---|---|
| void | addConnectorCustomizers(TomcatConnectorCustomizer... tomcatConnectorCustomizers)Add  TomcatConnectorCustomizers that should be added to the TomcatConnector. | 
| void | addContextCustomizers(TomcatContextCustomizer... tomcatContextCustomizers)Add  TomcatContextCustomizers that should be added to the TomcatContext. | 
| void | addEngineValves(org.apache.catalina.Valve... engineValves)Add  Valves that should be applied to the TomcatEngine. | 
| void | addProtocolHandlerCustomizers(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers)Add  TomcatProtocolHandlerCustomizers that should be added to the TomcatConnector. | 
| void | setBackgroundProcessorDelay(int delay)Sets the background processor delay in seconds. | 
| void | setBaseDirectory(File baseDirectory)Set the Tomcat base directory. | 
| void | setUriEncoding(Charset uriEncoding)Set the character encoding to use for URL decoding. | 
setAddress, setCompression, setErrorPages, setHttp2, setPort, setServerHeader, setShutdown, setSsl, setSslStoreProvideraddErrorPagesvoid setBaseDirectory(File baseDirectory)
baseDirectory - the tomcat base directoryvoid setBackgroundProcessorDelay(int delay)
delay - the delay in secondsvoid addEngineValves(org.apache.catalina.Valve... engineValves)
Valves that should be applied to the Tomcat Engine.engineValves - the valves to addvoid addConnectorCustomizers(TomcatConnectorCustomizer... tomcatConnectorCustomizers)
TomcatConnectorCustomizers that should be added to the Tomcat
 Connector.tomcatConnectorCustomizers - the customizers to addvoid addContextCustomizers(TomcatContextCustomizer... tomcatContextCustomizers)
TomcatContextCustomizers that should be added to the Tomcat
 Context.tomcatContextCustomizers - the customizers to addvoid addProtocolHandlerCustomizers(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers)
TomcatProtocolHandlerCustomizers that should be added to the Tomcat
 Connector.tomcatProtocolHandlerCustomizers - the customizers to addvoid setUriEncoding(Charset uriEncoding)
uriEncoding - the uri encoding to set