Package org.springframework.web.servlet
@NonNullApi
@NonNullFields
package org.springframework.web.servlet
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
This package and related packages are discussed in Chapters 12 and 13 of Expert One-On-One J2EE Design and Development by Rod Johnson (Wrox, 2002).
-
ClassDescriptionExtends
HandlerInterceptor
with a callback method invoked after the start of asynchronous request handling.Central dispatcher for HTTP request handlers/controllers, e.g.A FlashMap provides a way for one request to store attributes intended for use in another.A strategy interface for retrieving and saving FlashMap instances.Base servlet for Spring's web framework.MVC framework SPI, allowing parameterization of the core MVC workflow.Interface to be implemented by objects that can resolve exceptions thrown during handler mapping or execution, in the typical case to error views.Handler execution chain, consisting of handler object and any handler interceptors.Workflow interface that allows for customized handler execution chains.Interface to be implemented by objects that define a mapping between requests and handler objects.Simple extension ofHttpServlet
which treats its config parameters (init-param
entries within theservlet
tag inweb.xml
) as bean properties.Extension ofLocaleResolver
that adds support for a rich locale context (potentially including locale and time zone information).Interface for web-based locale resolution strategies that allows for both locale resolution via the request and locale modification via request and response.Holder for both Model and View in the web MVC framework.Exception to be thrown on error conditions that should forward to a specific view with a specific model.By default, when the DispatcherServlet can't find a handler for a request it sends a 404 response.Strategy interface for translating an incomingHttpServletRequest
into a logical view name when no view name is explicitly supplied.Provides additional information about a View such as whether it performs redirects.Deprecated.as of 6.0 in favor of using CSS, without direct replacementMVC View for a web interaction.Interface to be implemented by objects that can resolve views by name.