UndertowServletWebServerFactory
open class UndertowServletWebServerFactory : AbstractServletWebServerFactory, ConfigurableUndertowWebServerFactory, ResourceLoaderAware
ServletWebServerFactory that can be used to create UndertowServletWebServers.
Unless explicitly configured otherwise, the factory will create servers that listen for HTTP requests on port 8080.
Author
Ivan Sopov
Andy Wilkinson
Marcos Barbero
Eddú Meléndez
Scott Frederick
Since
2.0.0
See also
Constructors
Link copied to clipboard
constructor()
Create a new UndertowServletWebServerFactory instance.
Create a new UndertowServletWebServerFactory that listens for requests using the specified port.
Create a new UndertowServletWebServerFactory with the specified context path and port.
Properties
Functions
Link copied to clipboard
Add UndertowBuilderCustomizers that should be used to customize the Undertow Builder.
Link copied to clipboard
Add CookieSameSiteSuppliers to those that should be used to obtain the SameSite attribute of any added cookie.
Link copied to clipboard
Add UndertowDeploymentInfoCustomizers that should be used to customize the Undertow DeploymentInfo.
Link copied to clipboard
Adds error pages that will be used when handling exceptions.
Link copied to clipboard
Add ServletContextInitializers to those that should be applied in addition to getWebServer parameters.
Link copied to clipboard
Adds mime-type mappings.
Link copied to clipboard
Adds web listeners that will be registered with the servlet container.
Link copied to clipboard
Link copied to clipboard
Returns a mutable collection of the UndertowBuilderCustomizers that will be applied to the Undertow Builder.
Link copied to clipboard
Returns a mutable collection of the UndertowDeploymentInfoCustomizers that will be applied to the Undertow DeploymentInfo.
Link copied to clipboard
Returns the document root which will be used by the web context to serve static files.
Link copied to clipboard
Gets a new fully configured but paused WebServer instance.
Link copied to clipboard
Link copied to clipboard
Return if filters should be eagerly initialized.
Link copied to clipboard
Return whether the request path should be preserved on forward.
Link copied to clipboard
Flag to indicate that the default servlet should be registered.
Link copied to clipboard
Set the access log directory.
Link copied to clipboard
Set whether access logs are enabled.
Link copied to clipboard
Set the access log pattern.
Link copied to clipboard
Set the access log prefix.
Link copied to clipboard
Set whether access logs rotation is enabled.
Link copied to clipboard
Set the access log suffix.
Link copied to clipboard
Set the buffer size.
Link copied to clipboard
Set UndertowBuilderCustomizers that should be applied to the Undertow Builder.
Link copied to clipboard
Sets CookieSameSiteSuppliers that should be used to obtain the SameSite attribute of any added cookie.
Link copied to clipboard
open fun setDeploymentInfoCustomizers(customizers: Collection<out UndertowDeploymentInfoCustomizer>)
Set UndertowDeploymentInfoCustomizers that should be applied to the Undertow DeploymentInfo.
Link copied to clipboard
Sets the document root directory which will be used by the web context to serve static files.
Link copied to clipboard
Set whether filters should be eagerly initialized.
Link copied to clipboard
Sets the error pages that will be used when handling exceptions.
Link copied to clipboard
Sets ServletContextInitializer that should be applied in addition to getWebServer parameters.
Link copied to clipboard
Set the number of IO Threads.
Link copied to clipboard
Set whether the request path should be preserved on forward.
Link copied to clipboard
Set if the DefaultServlet should be registered.
Link copied to clipboard
Link copied to clipboard
Set whether direct buffers should be used.
Link copied to clipboard
Set if x-forward-* headers should be processed.
Link copied to clipboard
Set the number of Worker Threads.