Package org.springframework.web.context.support
@NonNullApi
@NonNullFields
package org.springframework.web.context.support
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes.-
ClassesClassDescription
AbstractRefreshableApplicationContextsubclass which implements theConfigurableWebApplicationContextinterface for web environments.WebApplicationContextimplementation which accepts component classes as input — in particular@Configurationclasses, but also plain@Componentclasses as well as JSR-330 compliant classes usingjakarta.injectannotations.HttpServletRequest decorator that makes all Spring beans in a given WebApplicationContext accessible as request attributes, through lazy checking once an attribute gets accessed.Subclass ofGenericApplicationContext, suitable for web environments.WebApplicationContextimplementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader.Simple HttpServlet that delegates to anHttpRequestHandlerbean defined in Spring's root web application context.Event raised when a request is handled within an ApplicationContext.PropertySourcethat reads init parameters from aServletConfigobject.Exporter that takes Spring-defined objects and exposes them as ServletContext attributes.FactoryBeanthat fetches a specific, existing ServletContext attribute.BeanPostProcessorimplementation that passes the ServletContext to beans that implement theServletContextAwareinterface.FactoryBeanthat retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml).PropertySourcethat reads init parameters from aServletContextobject.Resourceimplementation forServletContextresources, interpreting relative paths within the web application root directory.ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).ServletContext-aware subclass ofPathMatchingResourcePatternResolver, able to find matching resources below the web application root directory viaServletContext.getResourcePaths(java.lang.String).Scopewrapper for a ServletContext, i.e.Servlet-specific subclass of RequestHandledEvent, adding servlet-specific context information.Convenient base class for self-autowiring classes that gets constructed within a Spring-based web application.Environmentimplementation to be used byServlet-based web applications.StaticWebApplicationContextimplementation for testing.Convenience methods for retrieving the rootWebApplicationContextfor a givenServletContext.Convenient superclass for application objects running in aWebApplicationContext.WebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.