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
VertxClientHttpEngine- The Vert.x-backedAsyncClientHttpEngineimplementationVertxClientHttpEngineFactory- The service factory that creates the engine from the RESTEasy client configurationVertxClientProperties- Property names for tuning the engine, such as a per-request timeout or customHttpClientOptions
Example: Custom HttpClientOptions
Client client = ClientBuilder.newBuilder()
.property(VertxClientProperties.HTTP_CLIENT_OPTIONS, new HttpClientOptions().setHttp2ClearTextUpgrade(false))
.build();
- Since:
- 2.0
-
ClassesClassDescriptionA RESTEasy HTTP client engine implementation backed by Vert.x HTTP client.Property names for configuring the Vert.x client engine via
Configurable.property(String, Object).