public interface ConfigurableTomcatWebServerFactory extends ConfigurableWebServerFactory
ConfigurableWebServerFactory
for Tomcat-specific features.TomcatServletWebServerFactory
,
TomcatReactiveWebServerFactory
Modifier and Type | Method and Description |
---|---|
void |
addConnectorCustomizers(TomcatConnectorCustomizer... tomcatConnectorCustomizers)
Add
TomcatConnectorCustomizer s that should be added to the Tomcat
Connector . |
void |
addContextCustomizers(TomcatContextCustomizer... tomcatContextCustomizers)
Add
TomcatContextCustomizer s that should be added to the Tomcat
Context . |
void |
addEngineValves(org.apache.catalina.Valve... engineValves)
Add
Valve s 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, setSslStoreProvider
addErrorPages
void setBaseDirectory(File baseDirectory)
baseDirectory
- the tomcat base directoryvoid setBackgroundProcessorDelay(int delay)
delay
- the delay in secondsvoid addEngineValves(org.apache.catalina.Valve... engineValves)
Valve
s that should be applied to the Tomcat Engine
.engineValves
- the valves to addvoid addConnectorCustomizers(TomcatConnectorCustomizer... tomcatConnectorCustomizers)
TomcatConnectorCustomizer
s that should be added to the Tomcat
Connector
.tomcatConnectorCustomizers
- the customizers to addvoid addContextCustomizers(TomcatContextCustomizer... tomcatContextCustomizers)
TomcatContextCustomizer
s 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.