Class VertxHttpClientFactory
- java.lang.Object
-
- io.fabric8.kubernetes.client.vertx.VertxHttpClientFactory
-
- All Implemented Interfaces:
io.fabric8.kubernetes.client.http.HttpClient.Factory
public class VertxHttpClientFactory extends Object implements io.fabric8.kubernetes.client.http.HttpClient.Factory
-
-
Constructor Summary
Constructors Constructor Description VertxHttpClientFactory()VertxHttpClientFactory(io.vertx.core.Vertx sharedVertx)Create a new instance of the factory that will reuse the providedVertxinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadditionalConfig(io.vertx.ext.web.client.WebClientOptions options)Additional configuration to be applied to the options after theConfighas been processed.VertxHttpClientBuilder<VertxHttpClientFactory>newBuilder()
-
-
-
Constructor Detail
-
VertxHttpClientFactory
public VertxHttpClientFactory()
-
VertxHttpClientFactory
public VertxHttpClientFactory(io.vertx.core.Vertx sharedVertx)
Create a new instance of the factory that will reuse the providedVertxinstance.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.
- Parameters:
sharedVertx- the Vertx instance to use.
-
-
Method Detail
-
newBuilder
public VertxHttpClientBuilder<VertxHttpClientFactory> newBuilder()
- Specified by:
newBuilderin interfaceio.fabric8.kubernetes.client.http.HttpClient.Factory
-
additionalConfig
protected void additionalConfig(io.vertx.ext.web.client.WebClientOptions options)
Additional configuration to be applied to the options after theConfighas been processed.
-
-