Class AtomFeedPage<PAYLOAD>
- java.lang.Object
-
- no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.AtomFeedPage<PAYLOAD>
-
- All Implemented Interfaces:
FeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
public class AtomFeedPage<PAYLOAD> extends Object implements FeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
-
Constructor Summary
Constructors Constructor Description AtomFeedPage(com.rometools.rome.feed.synd.SyndFeed feed, String etag, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver, Function<String,String> linkResolver, String previous, String next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AtomFeedEntry<PAYLOAD>>getEntries()AtomFeedLocationgetLocation()Optional<AtomFeedLocation>getNextLocation()Optional<AtomFeedLocation>getPageLocation()Optional<AtomFeedLocation>getPreviousLocation()booleanhasLocation(AtomFeedLocation location)Optional<String>toDisplayString()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.feed.api.FeedPage
getEntriesAfter, getEntriesBetween, getEntriesUntil, hasNextLocation, hasPreviousLocation
-
-
-
-
Method Detail
-
getLocation
public AtomFeedLocation getLocation()
- Specified by:
getLocationin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
getPageLocation
public Optional<AtomFeedLocation> getPageLocation()
- Specified by:
getPageLocationin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
getPreviousLocation
public Optional<AtomFeedLocation> getPreviousLocation()
- Specified by:
getPreviousLocationin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
getNextLocation
public Optional<AtomFeedLocation> getNextLocation()
- Specified by:
getNextLocationin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
getEntries
public List<AtomFeedEntry<PAYLOAD>> getEntries()
- Specified by:
getEntriesin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
hasLocation
public boolean hasLocation(AtomFeedLocation location)
- Specified by:
hasLocationin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
toDisplayString
public Optional<String> toDisplayString()
- Specified by:
toDisplayStringin interfaceFeedPage<AtomFeedLocation,AtomFeedEntry<PAYLOAD>>
-
-