public static final class SdkDefaultClientBuilder.NonManagedSdkAsyncHttpClient extends Object implements SdkAsyncHttpClient
SdkAsyncHttpClient to prevent it from being closed. Used when the customer provides
an already built client in which case they are responsible for the lifecycle of it.SdkAsyncHttpClient.Builder<T extends SdkAsyncHttpClient.Builder<T>>| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<Void> |
execute(AsyncExecuteRequest request)
Execute the request.
|
public CompletableFuture<Void> execute(AsyncExecuteRequest request)
SdkAsyncHttpClientexecute in interface SdkAsyncHttpClientrequest - The request object.null, otherwise it is completed exceptionally.public void close()
SdkAutoCloseableclose in interface AutoCloseableclose in interface SdkAutoCloseableCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.