| Constructor and Description |
|---|
JsonResponse() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode() |
T |
getData() |
String |
getMessage() |
JsonResponse<T> |
setCode(Integer code) |
JsonResponse<T> |
setData(T data) |
JsonResponse<T> |
setMessage(String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertFalse, assertNotNull, assertTrue, build, build, build, build, fail, isSuccesspublic String getMessage()
getMessage in interface ErrorCodepublic T getData()
public JsonResponse<T> setCode(Integer code)
this.public JsonResponse<T> setMessage(String message)
this.public JsonResponse<T> setData(T data)
this.Copyright © 2022 DOYToWin. All rights reserved.