AbstractServletWebServerFactory
abstract class AbstractServletWebServerFactory : AbstractConfigurableWebServerFactory, ConfigurableServletWebServerFactory
Abstract base class for ConfigurableServletWebServerFactory implementations.
Author
Phillip Webb
Dave Syer
Andy Wilkinson
Stephane Nicoll
Ivan Sopov
Eddú Meléndez
Brian Clozel
Since
2.0.0
Inheritors
Constructors
Link copied to clipboard
constructor()
Create a new AbstractServletWebServerFactory instance.
Create a new AbstractServletWebServerFactory instance with the specified port.
Create a new AbstractServletWebServerFactory instance with the specified context path and port.
Properties
Functions
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
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
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
Flag to indicate that the default servlet should be registered.
Link copied to clipboard
Sets CookieSameSiteSuppliers that should be used to obtain the SameSite attribute of any added cookie.
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
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 if the DefaultServlet should be registered.