Package org.kiwiproject.spring.data
Class PagingRequest
- java.lang.Object
-
- org.kiwiproject.spring.data.PagingRequest
-
- All Implemented Interfaces:
PagingParams
public class PagingRequest extends Object implements PagingParams
JAX-RS based implementation ofPagingParams.Intended to be used in JAX-RS resource classes with HTTP
GETendpoint methods having an argument annotated withBeanParam.Example:
@GET public Response page(@BeanParam PagingRequest pagingRequest) { // ... }- Implementation Note:
- Requires Spring Data Commons and the JAX-RS API to be available at runtime.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MAX_LIMIT
-
Constructor Summary
Constructors Constructor Description PagingRequest()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kiwiproject.spring.data.PagingParams
getLimit, getPage, getPrimaryDirection, getPrimarySort, getSecondaryDirection, getSecondarySort, setLimit, setPage, setPrimaryDirection, setPrimarySort, setSecondaryDirection, setSecondarySort
-
-
-
-
Field Detail
-
DEFAULT_MAX_LIMIT
public static final int DEFAULT_MAX_LIMIT
- See Also:
- Constant Field Values
-
-