Class SingleResponse<T>
java.lang.Object
com.codingapi.springboot.framework.dto.response.Response
com.codingapi.springboot.framework.dto.response.SingleResponse<T>
- All Implemented Interfaces:
JsonSerializable,Serializable
- Author:
- lorne 2020/12/17
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SingleResponse<T>empty()static <T> SingleResponse<T>of(T data) Methods inherited from class com.codingapi.springboot.framework.dto.response.Response
buildFailure, buildSuccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.codingapi.springboot.framework.serializable.JsonSerializable
toJson
-
Constructor Details
-
SingleResponse
public SingleResponse()
-
-
Method Details
-
of
-
empty
-