Class PageRequest

All Implemented Interfaces:
Serializable, Pageable

public class PageRequest extends AbstractPageRequest
Basic Java Bean implementation of Pageable.
Oliver Gierke, Thomas Darimont, Anastasiia Smirnova, Mark Paluch
See Also:
  • Constructor Details

    • PageRequest

      protected PageRequest(int page, int size, Sort sort)
      Creates a new PageRequest with sort parameters applied.
      page - zero-based page index, must not be negative.
      size - the size of the page to be returned, must be greater than 0.
      sort - must not be null, use Sort.unsorted() instead.
  • Method Details