public class CPI extends Object
有利于在自定义扩展的 ActionHandler 中调用 Controller.init(...) 与 Controller.clear() 以及其它一切需要调用上面两个方法的场景 示例: CPI.init(controller, request, response, urlPara); CPI.clear(controller);
Constructor and Description |
---|
CPI() |
Modifier and Type | Method and Description |
---|---|
static void |
clear(Controller controller) |
static void |
init(Controller controller,
Action action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String urlPara) |
public static void init(Controller controller, Action action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String urlPara)
public static void clear(Controller controller)
Copyright © 2018. All rights reserved.