public class VertxHttpClientFactory extends Object implements HttpClient.Factory
| Constructor and Description |
|---|
VertxHttpClientFactory() |
VertxHttpClientFactory(io.vertx.core.Vertx sharedVertx)
Create a new instance of the factory that will reuse the provided
Vertx instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalConfig(io.vertx.ext.web.client.WebClientOptions options)
Additional configuration to be applied to the options after the
Config has been processed. |
VertxHttpClientBuilder<VertxHttpClientFactory> |
newBuilder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewBuilder, prioritypublic VertxHttpClientFactory()
public VertxHttpClientFactory(io.vertx.core.Vertx sharedVertx)
Vertx instance.
It's the user's responsibility to manage the lifecycle of the provided Vert.x instance. Operations such as close, and so on are left on hands of the user.
sharedVertx - the Vertx instance to use.public VertxHttpClientBuilder<VertxHttpClientFactory> newBuilder()
newBuilder in interface HttpClient.Factoryprotected void additionalConfig(io.vertx.ext.web.client.WebClientOptions options)
Config has been processed.Copyright © 2015–2025 Red Hat. All rights reserved.