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 Tomcat
Connector. |
void |
addContextCustomizers(TomcatContextCustomizer... tomcatContextCustomizers)
Add
TomcatContextCustomizers that should be added to the Tomcat
Context. |
void |
addEngineValves(org.apache.catalina.Valve... engineValves)
Add
Valves that should be applied to the Tomcat Engine. |
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, 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 setUriEncoding(Charset uriEncoding)
uriEncoding - the uri encoding to setCopyright © 2020 Pivotal Software, Inc.. All rights reserved.