Class AsyncBlurhashClient
- java.lang.Object
-
- com.chrt.api.resources.taskartifacts.blurhash.AsyncBlurhashClient
-
public class AsyncBlurhashClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncBlurhashClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.String>getByMetadataIdV1(java.lang.String taskArtifactS3ObjectMetadataId)Retrieves the blurhash string for a task_artifact image for fast placeholder loading.java.util.concurrent.CompletableFuture<java.lang.String>getByMetadataIdV1(java.lang.String taskArtifactS3ObjectMetadataId, RequestOptions requestOptions)Retrieves the blurhash string for a task_artifact image for fast placeholder loading.AsyncRawBlurhashClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncBlurhashClient
public AsyncBlurhashClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawBlurhashClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByMetadataIdV1
public java.util.concurrent.CompletableFuture<java.lang.String> getByMetadataIdV1(java.lang.String taskArtifactS3ObjectMetadataId)
Retrieves the blurhash string for a task_artifact image for fast placeholder loading.
-
getByMetadataIdV1
public java.util.concurrent.CompletableFuture<java.lang.String> getByMetadataIdV1(java.lang.String taskArtifactS3ObjectMetadataId, RequestOptions requestOptions)Retrieves the blurhash string for a task_artifact image for fast placeholder loading.
-
-