Class AmazonAsyncHttpClient
- java.lang.Object
-
- software.amazon.awssdk.core.internal.http.AmazonAsyncHttpClient
-
- All Implemented Interfaces:
AutoCloseable,software.amazon.awssdk.utils.SdkAutoCloseable
@ThreadSafe public final class AmazonAsyncHttpClient extends Object implements software.amazon.awssdk.utils.SdkAutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAmazonAsyncHttpClient.RequestExecutionBuilderInterface to configure a request execution and execute the request.
-
Constructor Summary
Constructors Constructor Description AmazonAsyncHttpClient(SdkClientConfiguration clientConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Shuts down this HTTP client object, releasing any resources that might be held open.AmazonAsyncHttpClient.RequestExecutionBuilderrequestExecutionBuilder()
-
-
-
Constructor Detail
-
AmazonAsyncHttpClient
public AmazonAsyncHttpClient(SdkClientConfiguration clientConfiguration)
-
-
Method Detail
-
close
public void close()
Shuts down this HTTP client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it cannot be used to make more requests.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacesoftware.amazon.awssdk.utils.SdkAutoCloseable
-
requestExecutionBuilder
public AmazonAsyncHttpClient.RequestExecutionBuilder requestExecutionBuilder()
- Returns:
- A builder used to configure and execute a HTTP request.
-
-