Class AtomHopperFeedEndpoint<PAYLOAD>
java.lang.Object
no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.hopper.AtomHopperFeedEndpoint<PAYLOAD>
- All Implemented Interfaces:
FeedEndpoint<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>, AtomHopperFeedPage<PAYLOAD>>
public class AtomHopperFeedEndpoint<PAYLOAD>
extends Object
implements FeedEndpoint<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>,AtomHopperFeedPage<PAYLOAD>>
-
Constructor Summary
ConstructorsConstructorDescriptionAtomHopperFeedEndpoint(URL endpoint, FeedHttpClient httpClient, boolean notFoundOnEmpty, int size, BiFunction<com.rometools.rome.feed.synd.SyndFeed, com.rometools.rome.feed.synd.SyndEntry, PAYLOAD> payloadResolver) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.feed.api.FeedEndpoint
getFirstPage, getLastLocation, getLastPage, getPage
-
Constructor Details
-
AtomHopperFeedEndpoint
public AtomHopperFeedEndpoint(URL endpoint, FeedHttpClient httpClient, boolean notFoundOnEmpty, int size, BiFunction<com.rometools.rome.feed.synd.SyndFeed, com.rometools.rome.feed.synd.SyndEntry, PAYLOAD> payloadResolver)
-
-
Method Details
-
getFirstPage
- Specified by:
getFirstPagein interfaceFeedEndpoint<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>, AtomHopperFeedPage<PAYLOAD>>
-
getLastPage
- Specified by:
getLastPagein interfaceFeedEndpoint<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>, AtomHopperFeedPage<PAYLOAD>>
-
getPage
- Specified by:
getPagein interfaceFeedEndpoint<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>, AtomHopperFeedPage<PAYLOAD>>
-