Uses of Interface
org.springframework.boot.web.servlet.ServletContextInitializer
Packages that use 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
Classes in org.springframework.boot.actuate.endpoint.web that implement ServletContextInitializerModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ServletContextInitializer in org.springframework.boot.autoconfigure.web.servlet
Classes in org.springframework.boot.autoconfigure.web.servlet that implement ServletContextInitializerModifier and TypeClassDescriptionclass
ServletRegistrationBean
for the auto-configuredDispatcherServlet
. -
Uses of ServletContextInitializer in org.springframework.boot.web.embedded.jetty
Methods in org.springframework.boot.web.embedded.jetty with parameters of type ServletContextInitializerModifier and TypeMethodDescriptionprotected final void
JettyServletWebServerFactory.configureWebAppContext
(org.eclipse.jetty.ee10.webapp.WebAppContext context, ServletContextInitializer... initializers) Configure the given JettyWebAppContext
for use.protected org.eclipse.jetty.ee10.webapp.Configuration
JettyServletWebServerFactory.getServletContextInitializerConfiguration
(org.eclipse.jetty.ee10.webapp.WebAppContext webAppContext, ServletContextInitializer... initializers) Return a JettyConfiguration
that will invoke the specifiedServletContextInitializer
s.protected org.eclipse.jetty.ee10.webapp.Configuration[]
JettyServletWebServerFactory.getWebAppContextConfigurations
(org.eclipse.jetty.ee10.webapp.WebAppContext webAppContext, ServletContextInitializer... initializers) Return the JettyConfiguration
s that should be applied to the server.JettyServletWebServerFactory.getWebServer
(ServletContextInitializer... initializers) Constructors in org.springframework.boot.web.embedded.jetty with parameters of type ServletContextInitializerModifierConstructorDescriptionServletContextInitializerConfiguration
(ServletContextInitializer... initializers) Create a newServletContextInitializerConfiguration
. -
Uses of ServletContextInitializer in org.springframework.boot.web.embedded.tomcat
Methods in org.springframework.boot.web.embedded.tomcat with parameters of type ServletContextInitializerModifier 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
Methods in org.springframework.boot.web.embedded.undertow with parameters of type ServletContextInitializerModifier and TypeMethodDescriptionUndertowServletWebServerFactory.getWebServer
(ServletContextInitializer... initializers) -
Uses of ServletContextInitializer in org.springframework.boot.web.servlet
Classes in org.springframework.boot.web.servlet that implement ServletContextInitializerModifier 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.Methods in org.springframework.boot.web.servlet that return types with arguments of type ServletContextInitializer -
Uses of ServletContextInitializer in org.springframework.boot.web.servlet.context
Methods in org.springframework.boot.web.servlet.context that return types with arguments of type ServletContextInitializerModifier 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
Methods in org.springframework.boot.web.servlet.server that return ServletContextInitializerModifier 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.Methods in org.springframework.boot.web.servlet.server with parameters of type ServletContextInitializerModifier 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.Method parameters in org.springframework.boot.web.servlet.server with type arguments of type ServletContextInitializerModifier 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.
@Endpoint
and@WebEndpoint
support