public class ResponseBody<T> extends Object
| 构造器和说明 |
|---|
ResponseBody() |
ResponseBody(int errorCode,
String errorText,
T data) |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
getData() |
int |
getErrorCode() |
String |
getErrorText() |
String |
getSuccessText() |
void |
setData(T data) |
void |
setErrorCode(int errorCode) |
void |
setErrorText(String errorText) |
void |
setSuccessText(String successText) |
String |
toString() |
public int getErrorCode()
public void setErrorCode(int errorCode)
public String getErrorText()
public void setErrorText(String errorText)
public T getData()
public void setData(T data)
public String getSuccessText()
public void setSuccessText(String successText)
Copyright © 2018. All rights reserved.