See: Description
| Package | Description |
|---|---|
| com.azure.core.http.netty |
Package containing the types for instantiating and using the Netty HTTP client.
|
Azure Core Netty HTTP client is a plugin for the azure-core HTTP client API.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.6.1</version>
</dependency>
The following sections provide several code snippets covering some of the most common client configuration scenarios.
Create a Netty Http client that uses port 80 and has no proxy.
HttpClient client = new NettyAsyncHttpClientBuilder().build();
Create a Netty Http client that is using a proxy.
HttpClient client = new NettyAsyncHttpClientBuilder()
.proxy(new ProxyOptions(ProxyOptions.Type.HTTP, new InetSocketAddress("<proxy-host>", 8888)))
.build();
Azure SDKs for Java provide a consistent logging story to help aid in troubleshooting application errors and expedite their resolution. The logs produced will capture the flow of an application before reaching the terminal state to help locate the root issue. View the logging wiki for guidance about enabling logging.
If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)

Copyright © 2020 Microsoft Corporation. All rights reserved.