Package io.micronaut.rss.jsonfeed.http
Interface JsonFeedProvider
public interface JsonFeedProvider
Defines a provider of a JSON Feed.
- Since:
- 1.0
- Author:
- Sergio del Amo, Graeme Rocher
-
Method Summary
-
Method Details
-
feed
@NonNull @NonNull org.reactivestreams.Publisher<JsonFeed> feed(@Nullable @Nullable Integer maxNumberOfItems, @Nullable @Nullable Integer pageNumber) Retrieves a JSON Feed. You can use the paramters `maxNumberOfItems` and `pageNumber` in combination withJsonFeed.getNextURL()
- Parameters:
maxNumberOfItems
- desired max number of items in the the JSON FeedpageNumber
- Page number to allow pagination in the JSON Feed Items.- Returns:
- A Json Feed
-
feed
Retrieves a JSON Feed.- Returns:
- A Json Feed
-