Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public final class PageRequest

  1. Object
  2. PageRequest
An immutable offset and positive maximum row count. Supply a deterministic OrderBy in the repository method name or declared query when paging.

Constructors

public PageRequest(int offset, int size)

Methods

public int getOffset()
public int getSize()

Inherited methods

Constructor details

PageRequest

public PageRequest(int offset, int size)

Method details

getOffset

public int getOffset()

getSize

public int getSize()