Class DefaultedPageable
java.lang.Object
org.springframework.data.rest.webmvc.support.DefaultedPageable
Value object to capture a
Pageable
as well whether it is the default one configured.- Author:
- Oliver Gierke
-
Constructor Details
-
DefaultedPageable
-
-
Method Details
-
getPageable
Returns the delegatePageable
.- Returns:
- can be null.
-
isDefault
public boolean isDefault()Returns whether the containedPageable
is the default one configured.- Returns:
- the isDefault
-
unpagedIfDefault
ReturnsPageable.unpaged()
if the containedPageable
is the default one.- Returns:
- will never be null.
- Since:
- 3.3
-
equals
-
hashCode
public int hashCode() -
toString
-