Package | Description |
---|---|
org.springframework.boot.context.embedded |
Support for embedded servlet containers.
|
org.springframework.boot.context.embedded.jetty |
Support for Jetty
EmbeddedServletContainers . |
org.springframework.boot.context.embedded.tomcat |
Support for Tomcat
EmbeddedServletContainers . |
org.springframework.boot.context.embedded.undertow |
Support for Undertow
EmbeddedServletContainers . |
Modifier and Type | Class and Description |
---|---|
class |
DelegatingFilterProxyRegistrationBean
A
ServletContextInitializer to register DelegatingFilterProxy s in a
Servlet 3.0+ container. |
class |
FilterRegistrationBean
A
ServletContextInitializer to register Filter s in a Servlet 3.0+
container. |
class |
InitParameterConfiguringServletContextInitializer
A
ServletContextInitializer that configures init parameters on the
ServletContext . |
class |
RegistrationBean
Base class for Servlet 3.0+ based registration beans.
|
class |
ServletListenerRegistrationBean<T extends EventListener>
A
ServletContextInitializer to register EventListener s in a Servlet
3.0+ container. |
class |
ServletRegistrationBean
A
ServletContextInitializer to register Servlet s in a Servlet 3.0+
container. |
Modifier and Type | Method and Description |
---|---|
protected ServletContextInitializer[] |
AbstractConfigurableEmbeddedServletContainer.mergeInitializers(ServletContextInitializer... initializers)
Utility method that can be used by subclasses wishing to combine the specified
ServletContextInitializer parameters with those defined in this instance. |
Modifier and Type | Method and Description |
---|---|
protected Collection<ServletContextInitializer> |
EmbeddedWebApplicationContext.getServletContextInitializerBeans()
Returns
ServletContextInitializer s that should be used with the embedded
Servlet context. |
Iterator<ServletContextInitializer> |
ServletContextInitializerBeans.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableEmbeddedServletContainer.addInitializers(ServletContextInitializer... initializers)
Add
ServletContextInitializer s to those that should be applied in addition
to
EmbeddedServletContainerFactory.getEmbeddedServletContainer(ServletContextInitializer...)
parameters. |
void |
AbstractConfigurableEmbeddedServletContainer.addInitializers(ServletContextInitializer... initializers) |
EmbeddedServletContainer |
EmbeddedServletContainerFactory.getEmbeddedServletContainer(ServletContextInitializer... initializers)
Gets a new fully configured but paused
EmbeddedServletContainer instance. |
protected ServletContextInitializer[] |
AbstractConfigurableEmbeddedServletContainer.mergeInitializers(ServletContextInitializer... initializers)
Utility method that can be used by subclasses wishing to combine the specified
ServletContextInitializer parameters with those defined in this instance. |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableEmbeddedServletContainer.setInitializers(List<? extends ServletContextInitializer> initializers)
Sets
ServletContextInitializer that should be applied in addition to
EmbeddedServletContainerFactory.getEmbeddedServletContainer(ServletContextInitializer...)
parameters. |
void |
AbstractConfigurableEmbeddedServletContainer.setInitializers(List<? extends ServletContextInitializer> initializers) |
Modifier and Type | Method and Description |
---|---|
protected void |
JettyEmbeddedServletContainerFactory.configureWebAppContext(WebAppContext context,
ServletContextInitializer... initializers)
Configure the given Jetty
WebAppContext for use. |
EmbeddedServletContainer |
JettyEmbeddedServletContainerFactory.getEmbeddedServletContainer(ServletContextInitializer... initializers) |
protected Configuration |
JettyEmbeddedServletContainerFactory.getServletContextInitializerConfiguration(WebAppContext webAppContext,
ServletContextInitializer... initializers)
Return a Jetty
Configuration that will invoke the specified
ServletContextInitializer s. |
protected Configuration[] |
JettyEmbeddedServletContainerFactory.getWebAppContextConfigurations(WebAppContext webAppContext,
ServletContextInitializer... initializers)
Return the Jetty
Configuration s that should be applied to the server. |
Constructor and Description |
---|
ServletContextInitializerConfiguration(ServletContextInitializer... initializers)
Create a new
ServletContextInitializerConfiguration . |
Modifier and Type | Method and Description |
---|---|
protected void |
TomcatEmbeddedServletContainerFactory.configureContext(Context context,
ServletContextInitializer[] initializers)
Configure the Tomcat
Context . |
EmbeddedServletContainer |
TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(ServletContextInitializer... initializers) |
protected void |
TomcatEmbeddedServletContainerFactory.prepareContext(Host host,
ServletContextInitializer[] initializers) |
Modifier and Type | Method and Description |
---|---|
EmbeddedServletContainer |
UndertowEmbeddedServletContainerFactory.getEmbeddedServletContainer(ServletContextInitializer... initializers) |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.