Class LinkHeaderPagination
java.lang.Object
hudson.model.AbstractDescribableImpl<Pagination>
io.jenkins.plugins.restlistparam.model.Pagination
io.jenkins.plugins.restlistparam.model.LinkHeaderPagination
- All Implemented Interfaces:
Describable<Pagination>,Serializable
Follows the
Link response header entry whose rel includes next (RFC 8288),
as sent by GitHub, GitLab, Gitea or Harbor.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.jenkins.plugins.restlistparam.model.Pagination
Pagination.NextPage, Pagination.Page, Pagination.PaginationDescriptor -
Field Summary
Fields inherited from class io.jenkins.plugins.restlistparam.model.Pagination
DEFAULT_MAX_PAGES, MAX_MAX_PAGES, MIN_MAX_PAGES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnext(Pagination.Page page) Finds the next page to request afterpage.Methods inherited from class io.jenkins.plugins.restlistparam.model.Pagination
checkMaxPages, getEffectiveMaxPages, getMaxPages, incompatibilityWith, setMaxPages, validateMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
LinkHeaderPagination
@DataBoundConstructor public LinkHeaderPagination()
-
-
Method Details
-
next
Description copied from class:PaginationFinds the next page to request afterpage.- Specified by:
nextin classPagination- Parameters:
page- The page just fetched- Returns:
- The next page, or empty when
pageis the last one
-