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 . |
Modifier and Type | Class and Description |
---|---|
class |
FilterRegistrationBean
A
ServletContextInitializer to register Filter s in a Servlet 3.0+
container. |
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. |
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 |
---|---|
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(ContextHandler contextHandler,
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) |
Constructor and Description |
---|
ServletContextInitializerLifecycleListener(ServletContextInitializer... initializers)
Create a new
ServletContextInitializerLifecycleListener instance with the
specified initializers. |
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.