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)
SdkAsyncHttpClient
execute
in interface SdkAsyncHttpClient
request
- The request object.null
, otherwise it is completed exceptionally.public void close()
SdkAutoCloseable
close
in interface AutoCloseable
close
in interface SdkAutoCloseable
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.