Azure Core Vert.x HTTP plugin library for Java - version 1.0.0
Azure Core Vert.x HTTP client is a plugin for the azure-core
HTTP client API.
Getting started
Prerequisites
- A Java Development Kit (JDK), version 8 or later.
- Here are details about Java 8 client compatibility with Azure Certificate Authority.
Include the package
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-vertx</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
Key concepts
Examples
The following sections provide several code snippets covering some of the most common client configuration scenarios.
Create a Simple Client
Create a Vert.x HttpClient.
HttpClient client = new VertxHttpClientBuilder().build();
Create a Vert.x HttpClient using a connection timeout of 60 seconds.
HttpClient client = new VertxHttpClientBuilder().connectTimeout(Duration.ofSeconds(60)).build();
Create a Client with Proxy
Create a Vert.x client that is using a proxy.
HttpClient client = new VertxHttpClientBuilder()
.proxy(new ProxyOptions(ProxyOptions.Type.HTTP, new InetSocketAddress("<proxy-host>", 8888)))
.build();
Next steps
Get started with Azure libraries that are built using Azure Core.
Troubleshooting
If you encounter any bugs, please file issues via GitHub Issues or checkout StackOverflow for Azure Java SDK.
Enabling Logging
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.
Contributing
For details on contributing to this repository, see the contributing guide.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Azure SDK for Java