Uses of Interface
org.springframework.boot.web.servlet.ServletContextInitializer
Package
Description
Web support for actuator endpoints.
Auto-configuration for servlet web servers and Spring MVC.
Embedded reactive and servlet web server implementations backed by Jetty.
Embedded reactive and servlet web server implementations backed by Tomcat.
Embedded reactive and servlet web server implementations backed by Undertow.
Classes and utilities designed to work with the
jakarta.servlet
specification.Servlet based web integrations with Spring's
WebApplicationContext
.Servlet web server abstractions.
-
Uses of ServletContextInitializer in org.springframework.boot.actuate.endpoint.web
-
Uses of ServletContextInitializer in org.springframework.boot.autoconfigure.web.servlet
Modifier and TypeClassDescriptionclass
ServletRegistrationBean
for the auto-configuredDispatcherServlet
. -
Uses of ServletContextInitializer in org.springframework.boot.web.embedded.jetty
Modifier and TypeMethodDescriptionprotected final void
JettyServletWebServerFactory.configureWebAppContext
(org.eclipse.jetty.webapp.WebAppContext context, ServletContextInitializer... initializers) Configure the given JettyWebAppContext
for use.protected org.eclipse.jetty.webapp.Configuration
JettyServletWebServerFactory.getServletContextInitializerConfiguration
(org.eclipse.jetty.webapp.WebAppContext webAppContext, ServletContextInitializer... initializers) Return a JettyConfiguration
that will invoke the specifiedServletContextInitializer
s.protected org.eclipse.jetty.webapp.Configuration[]
JettyServletWebServerFactory.getWebAppContextConfigurations
(org.eclipse.jetty.webapp.WebAppContext webAppContext, ServletContextInitializer... initializers) Return the JettyConfiguration
s that should be applied to the server.JettyServletWebServerFactory.getWebServer
(ServletContextInitializer... initializers) ModifierConstructorDescriptionServletContextInitializerConfiguration
(ServletContextInitializer... initializers) Create a newServletContextInitializerConfiguration
. -
Uses of ServletContextInitializer in org.springframework.boot.web.embedded.tomcat
Modifier and TypeMethodDescriptionprotected void
TomcatServletWebServerFactory.configureContext
(Context context, ServletContextInitializer[] initializers) Configure the TomcatContext
.TomcatServletWebServerFactory.getWebServer
(ServletContextInitializer... initializers) protected void
TomcatServletWebServerFactory.prepareContext
(Host host, ServletContextInitializer[] initializers) -
Uses of ServletContextInitializer in org.springframework.boot.web.embedded.undertow
Modifier and TypeMethodDescriptionUndertowServletWebServerFactory.getWebServer
(ServletContextInitializer... initializers) -
Uses of ServletContextInitializer in org.springframework.boot.web.servlet
Modifier and TypeClassDescriptionclass
AbstractFilterRegistrationBean<T extends Filter>
Abstract baseServletContextInitializer
to registerFilter
s in a Servlet 3.0+ container.class
AServletContextInitializer
to registerDelegatingFilterProxy
s in a Servlet 3.0+ container.class
DynamicRegistrationBean<D extends Registration.Dynamic>
Base class for Servlet 3.0+dynamic
based registration beans.class
FilterRegistrationBean<T extends Filter>
AServletContextInitializer
to registerFilter
s in a Servlet 3.0+ container.class
Base class for Servlet 3.0+ based registration beans.class
ServletListenerRegistrationBean<T extends EventListener>
AServletContextInitializer
to registerEventListener
s in a Servlet 3.0+ container.class
ServletRegistrationBean<T extends Servlet>
AServletContextInitializer
to registerServlet
s in a Servlet 3.0+ container. -
Uses of ServletContextInitializer in org.springframework.boot.web.servlet.context
Modifier and TypeMethodDescriptionprotected Collection<ServletContextInitializer>
ServletWebServerApplicationContext.getServletContextInitializerBeans()
ReturnsServletContextInitializer
s that should be used with the embedded web server. -
Uses of ServletContextInitializer in org.springframework.boot.web.servlet.server
Modifier and TypeMethodDescriptionprotected final ServletContextInitializer[]
AbstractServletWebServerFactory.mergeInitializers
(ServletContextInitializer... initializers) Utility method that can be used by subclasses wishing to combine the specifiedServletContextInitializer
parameters with those defined in this instance.Modifier and TypeMethodDescriptionvoid
AbstractServletWebServerFactory.addInitializers
(ServletContextInitializer... initializers) void
ConfigurableServletWebServerFactory.addInitializers
(ServletContextInitializer... initializers) AddServletContextInitializer
s to those that should be applied in addition toServletWebServerFactory.getWebServer(ServletContextInitializer...)
parameters.ServletWebServerFactory.getWebServer
(ServletContextInitializer... initializers) Gets a new fully configured but pausedWebServer
instance.protected final ServletContextInitializer[]
AbstractServletWebServerFactory.mergeInitializers
(ServletContextInitializer... initializers) Utility method that can be used by subclasses wishing to combine the specifiedServletContextInitializer
parameters with those defined in this instance.Modifier and TypeMethodDescriptionvoid
AbstractServletWebServerFactory.setInitializers
(List<? extends ServletContextInitializer> initializers) void
ConfigurableServletWebServerFactory.setInitializers
(List<? extends ServletContextInitializer> initializers) SetsServletContextInitializer
that should be applied in addition toServletWebServerFactory.getWebServer(ServletContextInitializer...)
parameters.