public class RespVO<T> extends Object
| 构造器和说明 |
|---|
RespVO() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> RespVO<T> |
buildWithBaseRespResult(BaseRespResult baseRespResult) |
static <T> RespVO<T> |
buildWithBaseRespResult(BaseRespResult baseRespResult,
T data) |
static <T> RespVO<T> |
error() |
static <T> RespVO<T> |
error(BaseRespResult baseRespResult) |
static <T> RespVO<T> |
error(BaseRespResult baseRespResult,
T data) |
static <T> RespVO<T> |
errorWithErrorMsg(BaseRespResult baseRespResult,
String errorMsg) |
static <T> RespVO<T> |
errorWithErrorMsg(String errorMsg) |
static <S,T> RespVO<T> |
resp(OpResult<S> opResult,
@NotNull java.util.function.Function<S,T> function) |
static <T> RespVO<T> |
resp(OpResult<T> opResult) |
static <T> RespVO<T> |
success() |
static <T> RespVO<T> |
success(T data) |
public static <T> RespVO<T> success()
public static <T> RespVO<T> success(T data)
public static <T> RespVO<T> error()
public static <T> RespVO<T> error(BaseRespResult baseRespResult)
public static <T> RespVO<T> error(BaseRespResult baseRespResult, T data)
public static <T> RespVO<T> buildWithBaseRespResult(BaseRespResult baseRespResult)
public static <T> RespVO<T> errorWithErrorMsg(BaseRespResult baseRespResult, String errorMsg)
public static <T> RespVO<T> buildWithBaseRespResult(BaseRespResult baseRespResult, T data)
public static <S,T> RespVO<T> resp(OpResult<S> opResult, @NotNull @NotNull java.util.function.Function<S,T> function)
Copyright © 2022. All rights reserved.