PageRetriever<C,P> Interface
Type Parameters
- C
Type of the continuation token.
- P
the page elements type
public interface PageRetriever<C,P>
This class handles retrieving pages.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Flux<P> |
get(C continuationToken, Integer pageSize)
Retrieves one or more pages starting from the page identified by the given continuation token. |
Method Details
get
public abstract Flux
get(C continuationToken, Integer pageSize)
Retrieves one or more pages starting from the page identified by the given continuation token.
Parameters:
continuationToken
- Token identifying which page to retrieve, passing
null
indicates to retrieve
the first page.
pageSize
- The number of items to retrieve per page, passing
null
will use the source's default
page size.
Returns:
A Flux that emits one or more pages.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.