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
ConstructorsConstructorDescriptionWithNamedUpperOffset(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, boolean inclusiveForward) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedEndpoint
getPage, getPageMethods 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
-
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, boolean inclusiveForward)
-
-
Method Details
-
getFirstPage
-
getLastPage
-