Package com.azure.core.http.netty
Class NettyAsyncHttpClientProvider
java.lang.Object
com.azure.core.http.netty.NettyAsyncHttpClientProvider
- All Implemented Interfaces:
HttpClientProvider
The NettyAsyncHttpClientProvider class is an implementation of the HttpClientProvider interface that provides an instance of HttpClient based on Netty. Instances are either shared or a newly created based on the configuration.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFor testing purpose only, assigning 'AZURE_ENABLE_HTTP_CLIENT_SHARING' to 'enableHttpClientSharing' for 'final' modifier. -
Method Summary
-
Constructor Details
-
NettyAsyncHttpClientProvider
public NettyAsyncHttpClientProvider()For testing purpose only, assigning 'AZURE_ENABLE_HTTP_CLIENT_SHARING' to 'enableHttpClientSharing' for 'final' modifier.
-
-
Method Details
-
createInstance
- Specified by:
createInstance
in interfaceHttpClientProvider
-
createInstance
- Specified by:
createInstance
in interfaceHttpClientProvider
-