Package feign.vertx
Class VertxHttpClient
- java.lang.Object
-
- feign.vertx.VertxHttpClient
-
public final class VertxHttpClient extends Object
LikeClientbut methodexecute(feign.Request)returnsFuturewithResponse. HTTP request is executed asynchronously with Vert.x- Author:
- Alexei KLENIN, Gordon McKinney
-
-
Constructor Summary
Constructors Constructor Description VertxHttpClient(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpClientOptions options)Constructor fromVertxinstance and HTTP client options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.Future<feign.Response>execute(feign.Request request)Executes HTTP request and returnsFuturewith response.
-