|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.jiucai.appframework.base.spring.web.BaseController
public class BaseController
控制器的基类
| 字段摘要 | |
|---|---|
protected static String |
CHARSET
直接输出时的字符编码 |
protected static String |
FAILED
操作失败标识 |
protected Logs |
log
|
static String |
REQ_KEY_PAGE
请求参数 分页页码 |
protected static String |
SUCCESS
操作成功标识 |
| 构造方法摘要 | |
|---|---|
BaseController()
|
|
| 方法摘要 | |
|---|---|
PageInfo |
getPageInfo(Long resultSize,
javax.servlet.http.HttpServletRequest request)
获取分页信息对象 |
void |
initBinder(org.springframework.web.bind.WebDataBinder binder)
定义一个标注 @InitBinder 注解的方法,在该方法中向 Controller 了注册若干个属性编辑器 nitBinder 注解的方法必须拥有一个 WebDataBinder 类型的入参, 以便 Spring MVC 框架将注册属性编辑器的 WebDataBinder 对象传递进来 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Logs log
protected static final String SUCCESS
protected static final String FAILED
protected static final String CHARSET
public static final String REQ_KEY_PAGE
| 构造方法详细信息 |
|---|
public BaseController()
| 方法详细信息 |
|---|
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
binder -
public PageInfo getPageInfo(Long resultSize,
javax.servlet.http.HttpServletRequest request)
resultSize - 总记录数request -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||