Package org.springframework.boot.context.embedded
Specialized
ApplicationContext
that supports embedded servlet containers.Interface Summary Interface Description ConfigurableEmbeddedServletContainer Simple interface that represents customizations to anEmbeddedServletContainerFactory
.EmbeddedServletContainer Simple interface that represents a fully configured embedded servlet container (for example Tomcat or Jetty).EmbeddedServletContainerCustomizer Strategy interface for customizing auto-configured embedded servlet containers.EmbeddedServletContainerFactory Factory interface that can be used to createEmbeddedServletContainer
s.SslStoreProvider Interface to provide SSL key stores for anEmbeddedServletContainer
to use.Class Summary Class Description AbstractConfigurableEmbeddedServletContainer Abstract base class forConfigurableEmbeddedServletContainer
implementations.AbstractEmbeddedServletContainerFactory Abstract base class forEmbeddedServletContainerFactory
implementations.AnnotationConfigEmbeddedWebApplicationContext EmbeddedWebApplicationContext
that accepts annotated classes as input - in particular@Configuration
-annotated classes, but also plain@Component
classes and JSR-330 compliant classes usingjavax.inject
annotations.Compression Simple container-independent abstraction for compression configuration.EmbeddedServletContainerCustomizerBeanPostProcessor BeanPostProcessor
that applies allEmbeddedServletContainerCustomizer
s from the bean factory toConfigurableEmbeddedServletContainer
beans.EmbeddedServletContainerInitializedEvent Event to be published after the context is refreshed and theEmbeddedServletContainer
is ready.EmbeddedWebApplicationContext AWebApplicationContext
that can be used to bootstrap itself from a containedEmbeddedServletContainerFactory
bean.EmbeddedWebApplicationContext.ExistingWebApplicationScopes Utility class to store and restore any user defined scopes.InitParameterConfiguringServletContextInitializer AServletContextInitializer
that configures init parameters on theServletContext
.JspServlet Configuration for the container's JSP servlet.MimeMappings Simple container-independent abstraction for servlet mime mappings.MimeMappings.Mapping A single mime mapping.ServerPortInfoApplicationContextInitializer ApplicationContextInitializer
that setsEnvironment
properties for the ports thatEmbeddedServletContainer
servers are actually listening on.Ssl Simple container-independent abstraction for SSL configuration.WebApplicationContextServletContextAwareProcessor Variant ofServletContextAwareProcessor
for use with aConfigurableWebApplicationContext
.XmlEmbeddedWebApplicationContext EmbeddedWebApplicationContext
which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader
.Enum Summary Enum Description Ssl.ClientAuth Client authentication types.Exception Summary Exception Description EmbeddedServletContainerException Exceptions thrown by an embedded servlet container.PortInUseException APortInUseException
is thrown when an embedded servlet container fails to start due to a port already being in use.Annotation Types Summary Annotation Type Description LocalServerPort Annotation at the field or method/constructor parameter level that injects the HTTP port that got allocated at runtime.