程序包 cn.taketoday.web.handler.mvc
package cn.taketoday.web.handler.mvc
Standard controller implementations for the MVC framework use like Framework
- 从以下版本开始:
- 4.0 2022/2/8 17:16
- 作者:
- Harry Yang
-
类说明Convenient 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 receivesRequestContextinstances just like aHttpServletbut is able to participate in an MVC workflow.Trivial controller that always returns a pre-configured view and optionally sets the response status code.Controller implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping.Framework Controller implementation that wraps a servlet instance which it manages internally.SimpleControllerimplementation 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.