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