Class AbstractPageRequest

java.lang.Object
org.springframework.data.domain.AbstractPageRequest
All Implemented Interfaces:
Serializable, Pageable
Direct Known Subclasses:
PageRequest, QPageRequest

public abstract class AbstractPageRequest extends Object implements Pageable, Serializable
Abstract Java Bean implementation of Pageable.
Author:
Thomas Darimont, Oliver Gierke, Alex Bondarev, Johannes Englmeier
See Also:
  • Constructor Details

    • AbstractPageRequest

      public AbstractPageRequest(int page, int size)
      Creates a new AbstractPageRequest. Pages are zero indexed, thus providing 0 for page will return the first page.
      Parameters:
      page - must not be less than zero.
      size - must not be less than one.
  • Method Details