类 SingleResponse<T>
- java.lang.Object
-
- com.codingapi.springboot.framework.dto.response.Response
-
- com.codingapi.springboot.framework.dto.response.SingleResponse<T>
-
- 所有已实现的接口:
JsonSerializable,Serializable
public class SingleResponse<T> extends Response
- 作者:
- lorne
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 SingleResponse()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static <T> SingleResponse<T>empty()static <T> SingleResponse<T>of(T data)-
从类继承的方法 com.codingapi.springboot.framework.dto.response.Response
buildFailure, buildSuccess
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.codingapi.springboot.framework.serializable.JsonSerializable
toJson
-
-
-
-
方法详细资料
-
of
public static <T> SingleResponse<T> of(T data)
-
empty
public static <T> SingleResponse<T> empty()
-
-