Package dev.resteasy.vertx.client


package dev.resteasy.vertx.client
A RESTEasy client HTTP engine backed by the Eclipse Vert.x HTTP client.

The engine executes Jakarta REST client requests asynchronously on Vert.x's event-driven architecture, streaming request bodies with chunked transfer encoding when no explicit Content-Length is provided. It is discovered automatically via ServiceLoader as a ClientHttpEngineFactory, so simply having this module on the path is enough for the RESTEasy client to use it.

Types

Example: Custom HttpClientOptions

Client client = ClientBuilder.newBuilder()
        .property(VertxClientProperties.HTTP_CLIENT_OPTIONS, new HttpClientOptions().setHttp2ClearTextUpgrade(false))
        .build();
Since:
2.0