Class AmazonSyncHttpClient
- java.lang.Object
-
- software.amazon.awssdk.core.internal.http.AmazonSyncHttpClient
-
- All Implemented Interfaces:
AutoCloseable
,SdkAutoCloseable
@ThreadSafe public final class AmazonSyncHttpClient extends Object implements SdkAutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AmazonSyncHttpClient.RequestExecutionBuilder
Interface to configure a request execution and execute the request.
-
Constructor Summary
Constructors Constructor Description AmazonSyncHttpClient(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.AmazonSyncHttpClient.RequestExecutionBuilder
requestExecutionBuilder()
-
-
-
Constructor Detail
-
AmazonSyncHttpClient
public AmazonSyncHttpClient(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 AmazonSyncHttpClient.RequestExecutionBuilder requestExecutionBuilder()
- Returns:
- A builder used to configure and execute a HTTP request.
-
-