TomcatReactiveWebServerFactory
open class TomcatReactiveWebServerFactory : AbstractReactiveWebServerFactory, ConfigurableTomcatWebServerFactory
ReactiveWebServerFactory that can be used to create a TomcatWebServer.
Author
Brian Clozel
HaiTao Zhang
Moritz Halbritter
Scott Frederick
Since
2.0.0
Constructors
Link copied to clipboard
constructor()
Create a new TomcatReactiveWebServerFactory instance.
Create a new TomcatReactiveWebServerFactory that listens for requests using the specified port.
Properties
Functions
Link copied to clipboard
Add Connectors in addition to the default connector, e.g.
Link copied to clipboard
Add TomcatConnectorCustomizers that should be added to the Tomcat Connector.
Link copied to clipboard
Add TomcatContextCustomizers that should be added to the Tomcat Context.
Link copied to clipboard
Add LifecycleListeners that should be added to the Tomcat Context.
Link copied to clipboard
Add Valves that should be applied to the Tomcat Engine.
Link copied to clipboard
Adds error pages that will be used when handling exceptions.
Link copied to clipboard
open fun addProtocolHandlerCustomizers(tomcatProtocolHandlerCustomizers: Array<TomcatProtocolHandlerCustomizer<out Any>>)
Add TomcatProtocolHandlerCustomizers that should be added to the Tomcat Connector.
Link copied to clipboard
Returns a mutable collection of the LifecycleListeners that will be applied to the Tomcat Context.
Link copied to clipboard
Returns a mutable collection of the TomcatConnectorCustomizers that will be applied to the Tomcat Connector.
Link copied to clipboard
Returns a mutable collection of the TomcatContextCustomizers that will be applied to the Tomcat Context.
Link copied to clipboard
open fun getTomcatProtocolHandlerCustomizers(): Collection<TomcatProtocolHandlerCustomizer<out Any>>
Returns a mutable collection of the TomcatProtocolHandlerCustomizers that will be applied to the Tomcat Connector.
Link copied to clipboard
Gets a new fully configured but paused WebServer instance.
Link copied to clipboard
Sets the background processor delay in seconds.
Link copied to clipboard
Set the Tomcat base directory.
Link copied to clipboard
Set LifecycleListeners that should be applied to the Tomcat Context.
Link copied to clipboard
Set whether the factory should disable Tomcat's MBean registry prior to creating the server.
Link copied to clipboard
Sets the error pages that will be used when handling exceptions.
Link copied to clipboard
The Tomcat protocol to use when create the Connector.
Link copied to clipboard
open fun setTomcatConnectorCustomizers(tomcatConnectorCustomizers: Collection<out TomcatConnectorCustomizer>)
Set TomcatConnectorCustomizers that should be applied to the Tomcat Connector.
Link copied to clipboard
open fun setTomcatContextCustomizers(tomcatContextCustomizers: Collection<out TomcatContextCustomizer>)
Set TomcatContextCustomizers that should be applied to the Tomcat Context.
Link copied to clipboard
open fun setTomcatProtocolHandlerCustomizers(tomcatProtocolHandlerCustomizers: Collection<out TomcatProtocolHandlerCustomizer<out Any>>)
Set TomcatProtocolHandlerCustomizers that should be applied to the Tomcat Connector.