Class NettyNioAsyncHttpClient
java.lang.Object
software.amazon.awssdk.http.nio.netty.NettyNioAsyncHttpClient
- All Implemented Interfaces:
AutoCloseable,SdkAsyncHttpClient,SdkAutoCloseable
@SdkPublicApi
public final class NettyNioAsyncHttpClient
extends Object
implements SdkAsyncHttpClient
An implementation of
SdkAsyncHttpClient that uses a Netty non-blocking HTTP client to communicate with the service.
This can be created via builder()
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder that allows configuration of the Netty NIO HTTP implementation. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidclose()static SdkAsyncHttpClientcreate()Create aNettyNioAsyncHttpClientwith the default propertiesexecute(AsyncExecuteRequest request)
-
Method Details
-
execute
- Specified by:
executein interfaceSdkAsyncHttpClient
-
builder
-
create
Create aNettyNioAsyncHttpClientwith the default properties- Returns:
- an
NettyNioAsyncHttpClient
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-
clientName
- Specified by:
clientNamein interfaceSdkAsyncHttpClient
-