@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 |
---|---|
CompletableFuture<Void> |
execute(AsyncExecuteRequest request)
Execute the request.
|
close
CompletableFuture<Void> execute(AsyncExecuteRequest request)
request
- The request object.null
, otherwise it is completed exceptionally.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.