Class ResponseDataList<T>
- java.lang.Object
-
- org.springframework.http.HttpEntity<T>
-
- org.springframework.http.ResponseEntity<T>
-
- com.tarsolution.notifyman.common.response.ResponseData<List<T>>
-
- com.tarsolution.notifyman.common.response.ResponseDataList<T>
-
public class ResponseDataList<T> extends ResponseData<List<T>>
- Author:
- FMARSLAN
-
-
Constructor Summary
Constructors Constructor Description ResponseDataList(List<T> body, org.springframework.http.HttpStatus status)
ResponseDataList(List<T> body, org.springframework.util.MultiValueMap<String,String> headers, org.springframework.http.HttpStatus status)
ResponseDataList(org.springframework.http.HttpStatus status)
ResponseDataList(org.springframework.util.MultiValueMap<String,String> headers, org.springframework.http.HttpStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLimit()
int
getOffset()
int
getTotalCount()
ResponseDataList<T>
setLimit(int limit)
ResponseDataList<T>
setOffset(int offset)
ResponseDataList<T>
setTotalCount(int totalCount)
-
Methods inherited from class com.tarsolution.notifyman.common.response.ResponseData
addMessage, getException, getExceptionCode, getMessage, getResponseTimes, setException, setExceptionCode, setResponseTimes
-
-
-
-
Method Detail
-
getTotalCount
public int getTotalCount()
-
setTotalCount
public ResponseDataList<T> setTotalCount(int totalCount)
-
getOffset
public int getOffset()
-
setOffset
public ResponseDataList<T> setOffset(int offset)
-
getLimit
public int getLimit()
-
setLimit
public ResponseDataList<T> setLimit(int limit)
-
-