T - Type of the data object, can be Mappublic class JsonResponse<T>
extends java.lang.Object
| Constructor and Description |
|---|
JsonResponse() |
| Modifier and Type | Method and Description |
|---|---|
static JsonResponse<?> |
of(java.lang.Object data)
Helper method to create a successful JsonResponse of an object
|
public T data
public java.lang.Integer status
public static JsonResponse<?> of(java.lang.Object data)
data - The object to base the model off of