@Deprecated public class Resp<T> extends Object implements Serializable
| 构造器和说明 |
|---|
Resp()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Resp<T> |
code(int code)
已过时。
|
Resp<T> |
data(T data)
已过时。
|
static Resp<Object> |
error(HttpError error)
已过时。
|
static Resp<Object> |
error(HttpError error,
String alias)
已过时。
|
boolean |
ifok()
已过时。
|
Resp<T> |
msg(String msg)
已过时。
|
static Resp<Object> |
ok()
已过时。
|
static <A> Resp<A> |
ok(A data)
已过时。
|
String |
toString()
已过时。
|
public boolean ifok()
public static <A> Resp<A> ok(A data)
Copyright © 2022. All rights reserved.