public class R<T> extends Object
| 构造器和说明 |
|---|
R() |
| 限定符和类型 | 方法和说明 |
|---|---|
static R<Void> |
fail(Integer status) |
static R<Void> |
fail(Integer status,
String message) |
static <T> R<T> |
fail(Integer status,
T data) |
static <T> R<T> |
fail(Integer status,
T data,
String message) |
static R<Void> |
ok() |
static R<Void> |
ok(String message) |
static <T> R<T> |
ok(T data) |
static <T> R<T> |
ok(T data,
String message) |
public static <T> R<T> ok(T data)
Copyright © 2022. All rights reserved.