Package org.springframework.web.servlet.support
@NullMarked
package org.springframework.web.servlet.support
Support classes for Spring's web MVC framework.
Provides easy evaluation of the request context in views,
and miscellaneous HandlerInterceptor implementations.
-
ClassDescription
WebApplicationInitializer
to register aDispatcherServlet
and use Java-based Spring configuration.Base class forWebApplicationInitializer
implementations that register aDispatcherServlet
in the servlet context.A base class forFlashMapManager
implementations.Simple adapter to expose the bind status of a field or object.JSP-aware (and JSTL-aware) subclass of RequestContext, allowing for population of the context from ajakarta.servlet.jsp.PageContext
.Helper class for preparing JSTL views, in particular for exposing a JSTL localization context.Context holder for request-specific state, like current web application context, current locale, current theme, and potential binding errors.Utility class for easy access to request-specific state which has been set by theDispatcherServlet
.A contract for inspecting and potentially modifying request data values such as URL query parameters or form field values before they are rendered by a view or before a redirect.UriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest.Store and retrieveFlashMap
instances to and from the HTTP session.Convenient superclass for any kind of web content generator, likeAbstractController
andWebContentInterceptor
.