public class Paging extends Object
Paging instruction for control of paging in the Strava API
| Constructor and Description |
|---|
Paging()
Default no-argument constructor assumes that you want the first page, and it should be the default size
|
Paging(Integer page,
Integer pageSize)
Constructor allowing page number and size only
|
Paging(Integer page,
Integer pageSize,
int ignoreFirstN,
int ignoreLastN)
Constructor allowing full control
|
public Paging()
public Paging(Integer page, Integer pageSize)
page - Page to be returned. If you specify 0, page 1 will be returnedpageSize - Size of page to be returned. If you specify 0, the default page size will be used.public Paging(Integer page, Integer pageSize, int ignoreFirstN, int ignoreLastN)
page - Page to be returned. If you specify 0, page 1 will be returnedpageSize - Size of page to be returned. If you specify 0, the default page size will be used.ignoreFirstN - Ignore the first N items in the returned pageignoreLastN - Ignore the last N items in the returned pageCopyright © 2015 Dan Shannon. All rights reserved.