Class HrisGetEmployeeDocument.Async
- java.lang.Object
-
- com.stackone.stackone_client_java.operations.HrisGetEmployeeDocument.Async
-
- All Implemented Interfaces:
Operations.AsyncOperation<HrisGetEmployeeDocumentResponse>,Operations.AsyncRequestOperation<HrisGetEmployeeDocumentRequest,HrisGetEmployeeDocumentResponse>
- Enclosing class:
- HrisGetEmployeeDocument
public static class HrisGetEmployeeDocument.Async extends java.lang.Object implements Operations.AsyncRequestOperation<HrisGetEmployeeDocumentRequest,HrisGetEmployeeDocumentResponse>
-
-
Constructor Summary
Constructors Constructor Description Async(SDKConfiguration sdkConfiguration, java.util.Optional<Options> options, java.util.concurrent.ScheduledExecutorService retryScheduler, Headers _headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<Blob>>doRequest(HrisGetEmployeeDocumentRequest request)java.util.concurrent.CompletableFuture<HrisGetEmployeeDocumentResponse>handleResponse(java.net.http.HttpResponse<Blob> response)
-
-
-
Constructor Detail
-
Async
public Async(SDKConfiguration sdkConfiguration, java.util.Optional<Options> options, java.util.concurrent.ScheduledExecutorService retryScheduler, Headers _headers)
-
-
Method Detail
-
doRequest
public java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<Blob>> doRequest(HrisGetEmployeeDocumentRequest request)
- Specified by:
doRequestin interfaceOperations.AsyncRequestOperation<HrisGetEmployeeDocumentRequest,HrisGetEmployeeDocumentResponse>
-
handleResponse
public java.util.concurrent.CompletableFuture<HrisGetEmployeeDocumentResponse> handleResponse(java.net.http.HttpResponse<Blob> response)
- Specified by:
handleResponsein interfaceOperations.AsyncOperation<HrisGetEmployeeDocumentResponse>
-
-