@Factory
public class ApacheClientFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APACHE_SDK_HTTP_SERVICE |
| Constructor and Description |
|---|
ApacheClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
software.amazon.awssdk.http.SdkHttpClient |
apacheClient(ApacheClientConfiguration configuration) |
software.amazon.awssdk.http.SdkHttpClient |
systemPropertyClient(ApacheClientConfiguration configuration) |
public static final java.lang.String APACHE_SDK_HTTP_SERVICE
@Bean(preDestroy="close")
@Singleton
@Requires(property="software.amazon.awssdk.http.service.impl",
notEquals="software.amazon.awssdk.http.urlconnection.UrlConnectionSdkHttpService")
public software.amazon.awssdk.http.SdkHttpClient apacheClient(ApacheClientConfiguration configuration)
configuration - The Apache client configurationSdkHttpClient@Bean(preDestroy="close")
@Singleton
@Requires(property="software.amazon.awssdk.http.service.impl",
value="software.amazon.awssdk.http.apache.ApacheSdkHttpService")
public software.amazon.awssdk.http.SdkHttpClient systemPropertyClient(ApacheClientConfiguration configuration)
configuration - The Apache client configurationSdkHttpClient