Top Description Classes
[default module]

Package org.springframework.web.context.support

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations and various utility classes.

Class Summary

Modifier and TypeClass and Description
public abstract class
public class
AnnotationConfigWebApplicationContext

Deprecated as a consequence of AbstractRefreshableWebApplicationContext being deprecated.
WebApplicationContext implementation which accepts component classes as input — in particular @Configuration classes, but also plain @Component classes as well as JSR-330 compliant classes using jakarta.inject annotations.
public class
ContextExposingHttpServletRequest

HttpServletRequest decorator that makes all Spring beans in a given WebApplicationContext accessible as request attributes, through lazy checking once an attribute gets accessed.

public class
GenericWebApplicationContext

Deprecated as a consequence of ThemeSource being deprecated.
Subclass of GenericApplicationContext, suitable for web environments.
public class
GroovyWebApplicationContext

Deprecated as a consequence of AbstractRefreshableWebApplicationContext being deprecated.
org.springframework.web.context.WebApplicationContext implementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by a org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.
public class
HttpRequestHandlerServlet

Simple HttpServlet that delegates to an HttpRequestHandler bean defined in Spring's root web application context.

public class
RequestHandledEvent

Event raised when a request is handled within an ApplicationContext.

public class
ServletConfigPropertySource

PropertySource that reads init parameters from a ServletConfig object.

public class
ServletContextAttributeExporter

Exporter that takes Spring-defined objects and exposes them as ServletContext attributes.

public class
ServletContextAttributeFactoryBean

FactoryBean that fetches a specific, existing ServletContext attribute.

public class
ServletContextAwareProcessor

org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the ServletContext to beans that implement the ServletContextAware interface.

public class
ServletContextParameterFactoryBean

FactoryBean that retrieves a specific ServletContext init parameter (that is, a "context-param" defined in web.xml).

public class
ServletContextPropertySource

PropertySource that reads init parameters from a ServletContext object.

public class
ServletContextResource

org.springframework.core.io.Resource implementation for jakarta.servlet.ServletContext resources, interpreting relative paths within the web application root directory.

public class
ServletContextResourceLoader

ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).

public class
ServletContextResourcePatternResolver

ServletContext-aware subclass of PathMatchingResourcePatternResolver, able to find matching resources below the web application root directory via ServletContext#getResourcePaths.

public class
ServletContextScope

Scope wrapper for a ServletContext, i.e. for global web application attributes.

public class
ServletRequestHandledEvent

Servlet-specific subclass of RequestHandledEvent, adding servlet-specific context information.

public abstract class
SpringBeanAutowiringSupport

Convenient base class for self-autowiring classes that gets constructed within a Spring-based web application.

public class
StandardServletEnvironment

Environment implementation to be used by Servlet-based web applications.

public class
StaticWebApplicationContext

Deprecated as a consequence of ThemeSource being deprecated.
Static org.springframework.web.context.WebApplicationContext implementation for testing.
public abstract class
WebApplicationContextUtils

Convenience methods for retrieving the root WebApplicationContext for a given ServletContext.

public abstract class
WebApplicationObjectSupport

Convenient superclass for application objects running in a WebApplicationContext.

public class
XmlWebApplicationContext

Deprecated as a consequence of AbstractRefreshableWebApplicationContext being deprecated.
org.springframework.web.context.WebApplicationContext implementation which takes its configuration from XML documents, understood by an org.springframework.beans.factory.xml.XmlBeanDefinitionReader.