Class AtomOffsetFeedEndpoint.WithNamedUpperOffset<PAYLOAD>
- java.lang.Object
-
- no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedEndpoint<PAYLOAD>
-
- no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedEndpoint.WithNamedUpperOffset<PAYLOAD>
-
- All Implemented Interfaces:
FeedEndpoint<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>,AtomOffsetFeedPage<PAYLOAD>>
- Enclosing class:
- AtomOffsetFeedEndpoint<PAYLOAD>
public static class AtomOffsetFeedEndpoint.WithNamedUpperOffset<PAYLOAD> extends AtomOffsetFeedEndpoint<PAYLOAD>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedEndpoint
AtomOffsetFeedEndpoint.UrlResolver, AtomOffsetFeedEndpoint.WithLinkedUpperOffset<PAYLOAD>, AtomOffsetFeedEndpoint.WithNamedUpperOffset<PAYLOAD>
-
-
Field Summary
-
Fields inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedEndpoint
endpoint, httpClient, notFoundOnEmpty, size, urlResolver
-
-
Constructor Summary
Constructors Constructor Description WithNamedUpperOffset(URL endpoint, FeedHttpClient httpClient, boolean notFoundOnEmpty, int size, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver)WithNamedUpperOffset(URL endpoint, FeedHttpClient httpClient, boolean notFoundOnEmpty, int size, ToLongFunction<String> offsetResolver, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver, AtomOffsetFeedEndpoint.UrlResolver urlResolver, String first, String last, boolean alwaysReversed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AtomOffsetFeedPage<PAYLOAD>>getFirstPage()Optional<AtomOffsetFeedPage<PAYLOAD>>getLastPage()-
Methods inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedEndpoint
getPage, getPage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.feed.api.FeedEndpoint
getFirstPage, getLastLocation, getLastPage, getPage
-
-
-
-
Constructor Detail
-
WithNamedUpperOffset
public WithNamedUpperOffset(URL endpoint, FeedHttpClient httpClient, boolean notFoundOnEmpty, int size, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver)
-
WithNamedUpperOffset
public WithNamedUpperOffset(URL endpoint, FeedHttpClient httpClient, boolean notFoundOnEmpty, int size, ToLongFunction<String> offsetResolver, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver, AtomOffsetFeedEndpoint.UrlResolver urlResolver, String first, String last, boolean alwaysReversed)
-
-
Method Detail
-
getFirstPage
public Optional<AtomOffsetFeedPage<PAYLOAD>> getFirstPage()
-
getLastPage
public Optional<AtomOffsetFeedPage<PAYLOAD>> getLastPage()
-
-