@Factory
public class NettyClientFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASYNC_SERVICE_IMPL |
static java.lang.String |
NETTY_SDK_ASYNC_HTTP_SERVICE |
Constructor and Description |
---|
NettyClientFactory() |
Modifier and Type | Method and Description |
---|---|
software.amazon.awssdk.http.async.SdkAsyncHttpClient |
nettyClient(NettyClientConfiguration configuration) |
software.amazon.awssdk.http.async.SdkAsyncHttpClient |
systemPropertyClient(NettyClientConfiguration configuration) |
public static final java.lang.String ASYNC_SERVICE_IMPL
public static final java.lang.String NETTY_SDK_ASYNC_HTTP_SERVICE
@Bean(preDestroy="close") @Singleton public software.amazon.awssdk.http.async.SdkAsyncHttpClient nettyClient(NettyClientConfiguration configuration)
configuration
- The Netty client configurationSdkAsyncHttpClient
@Bean(preDestroy="close") @Singleton @Requires(property="software.amazon.awssdk.http.async.service.impl", value="software.amazon.awssdk.http.nio.netty.NettySdkAsyncHttpService") public software.amazon.awssdk.http.async.SdkAsyncHttpClient systemPropertyClient(NettyClientConfiguration configuration)
configuration
- The Netty client configurationSdkAsyncHttpClient