public class BaseResponse<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NOT_FOUND |
static String |
PARAM_ERROR |
static String |
SUCCESS_CODE |
static String |
SYSTEM_ERROR |
| Constructor and Description |
|---|
BaseResponse() |
| Modifier and Type | Method and Description |
|---|---|
static <E> BaseResponse<E> |
Ok() |
static <E> BaseResponse<E> |
Ok(String message) |
public static final String SUCCESS_CODE
public static final String PARAM_ERROR
public static final String NOT_FOUND
public static final String SYSTEM_ERROR
public static <E> BaseResponse<E> Ok()
public static <E> BaseResponse<E> Ok(String message)
Copyright © 2020. All rights reserved.