Class LmsListContentRequestBuilder


  • public class LmsListContentRequestBuilder
    extends java.lang.Object
    • Constructor Detail

      • LmsListContentRequestBuilder

        public LmsListContentRequestBuilder​(SDKConfiguration sdkConfiguration)
    • Method Detail

      • call

        public java.util.concurrent.CompletableFuture<LmsListContentResponse> call()
                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • callAsPublisher

        public org.reactivestreams.Publisher<LmsListContentResponse> callAsPublisher()
        Returns a Publisher that performs next page calls till no more pages are returned.

        The returned publisher can be used with reactive frameworks:

        
         Publisher<LmsListContentResponse> publisher = builder.callAsPublisher();
         publisher.subscribe(new Subscriber<LmsListContentResponse>() {
             // Handle onNext, onError, onComplete
         });
         
        Returns:
        A Publisher that emits pages asynchronously