Class MultiResponse<T>
java.lang.Object
com.codingapi.springboot.framework.dto.response.Response
com.codingapi.springboot.framework.dto.response.MultiResponse<T>
- All Implemented Interfaces:
JsonSerializable,Serializable
- Author:
- lorne 2020/12/17
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> MultiResponse<T>empty()static <T> MultiResponse<T>of(Collection<T> data) static <T> MultiResponse<T>of(Collection<T> data, long total) static <T> MultiResponse<T>of(org.springframework.data.domain.Page<T> page) 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
-
MultiResponse
public MultiResponse()
-
-
Method Details
-
of
-
of
-
empty
-
of
-