Class AmazonAsyncHttpClient
java.lang.Object
software.amazon.awssdk.core.internal.http.AmazonAsyncHttpClient
- All Implemented Interfaces:
AutoCloseable
,SdkAutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface to configure a request execution and execute the request. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Shuts down this HTTP client object, releasing any resources that might be held open.
-
Constructor Details
-
AmazonAsyncHttpClient
-
-
Method Details
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSdkAutoCloseable
-
requestExecutionBuilder
- Returns:
- A builder used to configure and execute a HTTP request.
-