@Immutable @ThreadSafe public interface SdkAsyncHttpClient extends SdkAutoCloseable
Implementations MUST be thread safe.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SdkAsyncHttpClient.Builder<T extends SdkAsyncHttpClient.Builder<T>> |
| Modifier and Type | Method and Description |
|---|---|
default String |
clientName()
Each HTTP client implementation should return a well-formed client name
that allows requests to be identifiable back to the client that made the request.
|
CompletableFuture<Void> |
execute(AsyncExecuteRequest request)
Execute the request.
|
closeCompletableFuture<Void> execute(AsyncExecuteRequest request)
request - The request object.null, otherwise it is completed exceptionally.default String clientName()
Copyright © 2021. All rights reserved.