Standard controller implementations for the Servlet MVC framework that comes with Spring. Provides various controller styles, including an annotation-based model.
ClassDescriptionConvenient superclass for controller implementations, using the Template Method design pattern.Abstract base class for
Controllersthat return a view name based on the request URL.Base Controller interface, representing a component that receives
HttpServletResponseinstances just like a
HttpServletbut is able to participate in an MVC workflow.Deprecated.Trivial controller that always returns a pre-configured view and optionally sets the response status code.Spring Controller implementation that forwards to a named servlet, i.e.Spring Controller implementation that wraps a servlet instance which it manages internally.Simple
Controllerimplementation that transforms the virtual path of a URL into a view name and returns that view.Handler interceptor that checks the request for supported methods and a required session and prepares the response by applying the configured cache settings.