Interface SdkAsyncHttpService
- All Known Implementing Classes:
AwsCrtSdkHttpService
,NettySdkAsyncHttpService
Service Provider interface for Async HTTP implementations. The core uses
ServiceLoader
to find appropriate
HTTP implementations on the classpath. HTTP implementations that wish to be discovered by the default HTTP provider chain
should implement this interface and declare that implementation as a service in the
META-INF/service/software.amazon.awssdk.http.async.SdkAsyncHttpService resource. See
Service Loader for more
information.
This interface is simply a factory for SdkAsyncHttpClient.Builder
. Implementations must be thread safe.
-
Method Summary
-
Method Details
-
createAsyncHttpClientFactory
SdkAsyncHttpClient.Builder createAsyncHttpClientFactory()- Returns:
- An
SdkAsyncHttpClient.Builder
capable of creatingSdkAsyncHttpClient
instances. This factory should be thread safe.
-