Class AmazonAsyncHttpClient
- java.lang.Object
-
- software.amazon.awssdk.core.internal.http.AmazonAsyncHttpClient
-
- All Implemented Interfaces:
AutoCloseable
,SdkAutoCloseable
@ThreadSafe public final class AmazonAsyncHttpClient extends Object implements SdkAutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AmazonAsyncHttpClient.RequestExecutionBuilder
Interface 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 void
close()
Shuts down this HTTP client object, releasing any resources that might be held open.AmazonAsyncHttpClient.RequestExecutionBuilder
requestExecutionBuilder()
-
-
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSdkAutoCloseable
-
requestExecutionBuilder
public AmazonAsyncHttpClient.RequestExecutionBuilder requestExecutionBuilder()
- Returns:
- A builder used to configure and execute a HTTP request.
-
-