| 程序包 | 说明 |
|---|---|
| cloud.agileframework.mvc.base |
描述:自定义实体包
创建时间:2018/11/28
|
| cloud.agileframework.mvc.param | |
| cloud.agileframework.mvc.util |
描述:工具包
创建时间:2018/11/28
|
| 限定符和类型 | 字段和说明 |
|---|---|
static RETURN |
RETURN.EXCEPTION |
static RETURN |
RETURN.EXPRESSION |
static RETURN |
RETURN.FAIL |
static RETURN |
RETURN.LOGOUT_SUCCESS |
static RETURN |
RETURN.PARAMETER_ERROR |
static RETURN |
RETURN.SUCCESS |
| 限定符和类型 | 方法和说明 |
|---|---|
static RETURN |
RETURN.byMessage(org.springframework.http.HttpStatus status,
String message)
根据国际化文件当中的key值与占位参数,获取国际化文,返回RETURN
|
static RETURN |
RETURN.byMessage(String defaultValue,
org.springframework.http.HttpStatus status,
String key,
String... params)
根据国际化文件当中的key值与占位参数,获取国际化文,返回RETURN
|
static RETURN |
RETURN.byMessage(String key,
Object... params) |
static RETURN |
RETURN.byMessageWithDefault(String defaultValue,
String key) |
static RETURN |
RETURN.of(String code,
String msg) |
static RETURN |
RETURN.of(String code,
String msg,
org.springframework.http.HttpStatus status) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.web.servlet.ModelAndView |
AbstractResponseFormat.buildResponse(RETURN head,
Object result)
构建响应报文体
|
abstract Map<String,Object> |
AbstractResponseFormat.buildResponseData(RETURN head,
Object result)
构建返回数据
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RETURN |
AgileReturn.getHead() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
AgileReturn.init(RETURN head,
Object object) |
static void |
AgileReturn.setHead(RETURN r) |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.springframework.web.servlet.ModelAndView |
ViewUtil.getResponseFormatData(RETURN head,
Object result)
格式化响应报文
|
static void |
ViewUtil.render(RETURN head,
Object result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Copyright © 2022. All rights reserved.