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