@FunctionalInterface public interface HttpClientFactory extends Function<io.vertx.core.http.HttpClientOptions,io.vertx.core.http.HttpClient>
| Modifier and Type | Method and Description |
|---|---|
default io.vertx.core.http.HttpClient |
apply(io.vertx.core.http.HttpClientOptions opts) |
io.vertx.core.http.HttpClient |
createHttpClient(io.vertx.core.http.HttpClientOptions opts) |
static HttpClientFactory |
of(io.vertx.core.Vertx vertx) |
io.vertx.core.http.HttpClient createHttpClient(io.vertx.core.http.HttpClientOptions opts)
opts - Options to configure the http client.HttpClient.default io.vertx.core.http.HttpClient apply(io.vertx.core.http.HttpClientOptions opts)
static HttpClientFactory of(io.vertx.core.Vertx vertx)
Copyright © 2016–2021. All rights reserved.