public class TasksApi extends Object
| Constructor and Description |
|---|
TasksApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<Object> |
cancelTask(String taskId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Cancel task
Cancels a task.
|
io.reactivex.Single<TaskProgressBeanObject> |
getTask(String taskId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get task
Returns the status of a [long-running asynchronous task](#async).
|
public io.reactivex.Single<Object> cancelTask(String taskId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
taskId - The ID of the task. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<TaskProgressBeanObject> getTask(String taskId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
taskId - The ID of the task. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.