action.java
来自「一个轻量级的MVC框架实例」· Java 代码 · 共 20 行
JAVA
20 行
package com.javaeedev.lightweight.mvc;
/**
* Prototype Action that execute for handle http request. NOTE that subclass
* should designed as "Use and throw".
* @finishing www.codefans.net
* @author Xuefeng
*/
public interface Action {
/**
* Return a ModelAndView object for render, or null if no need to render.
*
* @return A ModelAndView object, or null.
* @throws Exception If any exception is thrown.
*/
ModelAndView execute() throws Exception;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?