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).
Interfaces
HandlerAdapter |
MVC framework SPI interface, allowing parameterization of core MVC workflow. |
HandlerExceptionResolver |
Interface to be implemented by objects than can resolve exceptions thrown
during handler mapping or execution, in the typical case to error views. |
HandlerInterceptor |
Workflow interface that allows for customized handler execution chains. |
HandlerMapping |
Interface to be implemented by objects that define a mapping between
requests and handler objects. |
LocaleResolver |
Interface for web-based locale resolution strategies that allows for
both locale resolution via the request and locale modification via
request and response. |
RequestToViewNameTranslator |
Strategy interface for translating an incoming
javax.servlet.http.HttpServletRequest into a
logical view name when no view name is explicitly supplied. |
ThemeResolver |
Interface for web-based theme resolution strategies that allows for
both theme resolution via the request and theme modification via
request and response. |
View |
MVC View for a web interaction. |
ViewResolver |
Interface to be implemented by objects that can resolve views by name. |
Classes
DispatcherServlet |
Central dispatcher for HTTP request handlers/controllers, e.g. |
FrameworkServlet |
Base servlet for Spring's web framework. |
HandlerExecutionChain |
Handler execution chain, consisting of handler object and any handler interceptors. |
HttpServletBean |
Simple extension of javax.servlet.http.HttpServlet which treats
its config parameters (init-param entries within the
servlet tag in web.xml ) as bean properties. |
ModelAndView |
Holder for both Model and View in the web MVC framework. |
ResourceServlet |
Simple servlet that can expose an internal resource, including a
default URL if the specified resource is not found. |
ViewRendererServlet |
ViewRendererServlet is a bridge servlet, mainly for the Portlet MVC support. |
Exceptions