Class HrisListLocationsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.HrisListLocationsRequestBuilder
-
public class HrisListLocationsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HrisListLocationsRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<HrisListLocationsResponse>call()org.reactivestreams.Publisher<HrisListLocationsResponse>callAsPublisher()Returns a Publisher that performs next page calls till no more pages are returned.HrisListLocationsRequestBuilderrequest(HrisListLocationsRequest request)HrisListLocationsRequestBuilderretryConfig(RetryConfig retryConfig)HrisListLocationsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
HrisListLocationsRequestBuilder
public HrisListLocationsRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public HrisListLocationsRequestBuilder request(HrisListLocationsRequest request)
-
retryConfig
public HrisListLocationsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public HrisListLocationsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public java.util.concurrent.CompletableFuture<HrisListLocationsResponse> call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsPublisher
public org.reactivestreams.Publisher<HrisListLocationsResponse> 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<HrisListLocationsResponse> publisher = builder.callAsPublisher(); publisher.subscribe(new Subscriber<HrisListLocationsResponse>() { // Handle onNext, onError, onComplete });- Returns:
- A Publisher that emits pages asynchronously
-
-