| 限定符和类型 | 方法和说明 |
|---|---|
Resp<C,T> |
Resp.code(C code) |
Resp<C,T> |
Resp.code(C code) |
Resp<C,T> |
Resp.data(T data) |
Resp<C,T> |
Resp.data(T data) |
static Resp<CodedEnum,Object> |
Resp.error(HttpError error) |
static Resp<CodedEnum,Object> |
Resp.error(HttpError error) |
static Resp<CodedEnum,Object> |
Resp.error(HttpError error,
String alias) |
static Resp<CodedEnum,Object> |
Resp.error(HttpError error,
String alias) |
Resp<C,T> |
Resp.msg(String msg) |
Resp<C,T> |
Resp.msg(String msg) |
static Resp<AradinCodedEnum,Object> |
Resp.ok() |
static Resp<AradinCodedEnum,Object> |
Resp.ok() |
static <A> Resp<AradinCodedEnum,A> |
Resp.ok(A data) |
static <A> Resp<AradinCodedEnum,A> |
Resp.ok(A data) |
static <C extends CodedEnum> |
Resp.ok(C coded) |
static <C extends CodedEnum> |
Resp.ok(C coded) |
static <C extends CodedEnum,A> |
Resp.ok(C coded,
A data) |
static <C extends CodedEnum,A> |
Resp.ok(C coded,
A data) |
Copyright © 2022. All rights reserved.