public class ReturnObj extends Object
┌─┐ ┌─┐
┌──┘ ┴───────┘ ┴──┐
│ │
│ ─── │
│ ─┬┘ └┬─ │
│ │
│ ─┴─ │
│ │
└───┐ ┌───┘
│ │
│ │
│ │
│ └──────────────┐
│ │
│ ├─┐
│ author:lelouch ┌─┘
│ │
└─┐ ┐ ┌───────┬──┐ ┌──┘
│ ─┤ ─┤ │ ─┤ ─┤
└──┴──┘ └──┴──┘
神兽保佑
代码无BUG!
| 构造器和说明 |
|---|
ReturnObj(String code,
String message) |
ReturnObj(String code,
String message,
Object data) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ReturnObj |
def_402() |
static ReturnObj |
def_403() |
static ReturnObj |
def_404() |
static ReturnObj |
def_500() |
static ReturnObj |
def_504() |
static ReturnObj |
def_505() |
static ReturnObj |
def_600() |
static ReturnObj |
def_601() |
static ReturnObj |
def_ok() |
String |
getCode() |
Object |
getData() |
String |
getMessage() |
ReturnObj |
putAllData(Map<String,Object> data) |
ReturnObj |
putData(String key,
Object data) |
void |
setCode(String code) |
void |
setData(Object data) |
void |
setMessage(String message) |
Map |
toResult() |
public void setCode(String code)
public void setMessage(String message)
public void setData(Object data)
public String getCode()
public String getMessage()
public Object getData()
public Map toResult()
public static ReturnObj def_ok()
public static ReturnObj def_402()
public static ReturnObj def_403()
public static ReturnObj def_404()
public static ReturnObj def_500()
public static ReturnObj def_504()
public static ReturnObj def_505()
public static ReturnObj def_600()
public static ReturnObj def_601()
Copyright © 2020. All rights reserved.