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(Valve... engineValves)
|
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(Valve... engineValves)
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 © 2019 Pivotal Software, Inc.. All rights reserved.