Class HrisListShiftsRequestBuilder


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

      • HrisListShiftsRequestBuilder

        public HrisListShiftsRequestBuilder​(SDKConfiguration sdkConfiguration)
    • Method Detail

      • call

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

        public org.reactivestreams.Publisher<HrisListShiftsResponse> 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<HrisListShiftsResponse> publisher = builder.callAsPublisher();
         publisher.subscribe(new Subscriber<HrisListShiftsResponse>() {
             // Handle onNext, onError, onComplete
         });
         
        Returns:
        A Publisher that emits pages asynchronously