Class 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.
Thomas Darimont, Oliver Gierke, Alex Bondarev, Johannes Englmeier, Thach Le
See Also:
  • Constructor Details

    • AbstractPageRequest

      public AbstractPageRequest(int pageNumber, int pageSize)
      Creates a new AbstractPageRequest. Pages are zero indexed, thus providing 0 for pageNumber will return the first pageNumber.
      pageNumber - zero-based page number, must not be negative.
      pageSize - the size of the page to be returned, must be greater than 0.
  • Method Details