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 |
|---|---|
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.
|
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 String clientName()
SdkAsyncHttpClientclientName in interface SdkAsyncHttpClientpublic void close()
SdkAutoCloseableclose in interface SdkAutoCloseableclose in interface AutoCloseableCopyright © 2026. All rights reserved.