Registry / http-client / vertx-web-client

vertx-web-client

JSON →
library5.0.10javamavenunverified

Asynchronous HTTP client for Vert.x applications with support for request/response handling.

<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web-client</artifactId> <version>5.0.10</version> </dependency>
INSTALL
IMPORT
SIG · VERTX-WEB-CLIENT
V
vertx-web-client
http-clientjavav5.0.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebClient
io.vertx.ext.web.client.WebClient

Creates a WebClient and performs a GET request.

import io.vertx.ext.web.client.WebClient; import io.vertx.core.Vertx; public class Main { public static void main(String[] args) { Vertx vertx = Vertx.vertx(); WebClient client = WebClient.create(vertx); client.getAbs("https://example.com").send(ar -> { if (ar.succeeded()) { System.out.println(ar.result().bodyAsString()); } }); } }
Debug
Known issues
breakingVert.x 5 has breaking API changes from Vert.x 4.
fix
Use Vert.x 4.x if you need backward compatibility.
affects: >=5.0.0
Upgrade
Version history
5.0.10latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
vertx-web-client — mvn dependency:get vertx-web-client · libregistry