Class PaginatedItemsPublisher<ResponseT,​ItemT>

  • Type Parameters:
    ResponseT - The type of a single response page
    ItemT - The type of paginated member in a response page
    All Implemented Interfaces:
    org.reactivestreams.Publisher<ItemT>, SdkPublisher<ItemT>

    public final class PaginatedItemsPublisher<ResponseT,​ItemT>
    extends Object
    implements SdkPublisher<ItemT>
    A publisher to request for a stream of paginated items. The class can be used to request data for paginated items across multiple pages.
    • Method Detail

      • subscribe

        public void subscribe​(org.reactivestreams.Subscriber<? super ItemT> subscriber)
        Specified by:
        subscribe in interface org.reactivestreams.Publisher<ResponseT>