Class Vertx5HttpClientBuilder<F extends HttpClient.Factory>
- java.lang.Object
-
- io.fabric8.kubernetes.client.http.StandardHttpClientBuilder<Vertx5HttpClient<F>,F,Vertx5HttpClientBuilder<F>>
-
- io.fabric8.kubernetes.client.vertx5.Vertx5HttpClientBuilder<F>
-
- Type Parameters:
F- the factory type for creating HTTP clients
- All Implemented Interfaces:
HttpClient.Builder,HttpClient.DerivedClientBuilder
public class Vertx5HttpClientBuilder<F extends HttpClient.Factory> extends StandardHttpClientBuilder<Vertx5HttpClient<F>,F,Vertx5HttpClientBuilder<F>>
Builder for creating Vert.x-based HTTP clients used in Kubernetes API communication.Extends
StandardHttpClientBuilderto provide Vert.x-specific configuration including connection pooling, SSL/TLS options, proxy settings, and WebSocket support.
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.client.http.StandardHttpClientBuilder
authenticatorNone, client, clientFactory, connectTimeout, followRedirects, interceptors, keyManagers, preferHttp11, proxyAddress, proxyAuthorization, proxyType, sslContext, tags, tlsServerName, tlsVersions, trustManagers
-
-
Constructor Summary
Constructors Constructor Description Vertx5HttpClientBuilder(F clientFactory, io.vertx.core.Vertx sharedVertx)Creates a builder with optional shared Vert.x instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vertx5HttpClient<F>build()Builds the configured Vertx5HttpClient instance.protected Vertx5HttpClientBuilder<F>newInstance(F clientFactory)Creates a new builder instance sharing the same Vert.x instance.-
Methods inherited from class io.fabric8.kubernetes.client.http.StandardHttpClientBuilder
addOrReplaceInterceptor, addProxyAuthInterceptor, authenticatorNone, clientFactory, connectTimeout, copy, followAllRedirects, getClient, getClientFactory, getConnectTimeout, getInterceptors, getKeyManagers, getProxyAddress, getProxyAuthorization, getProxyType, getSslContext, getTags, getTlsServerName, getTlsVersions, getTrustManagers, isAuthenticatorNone, isFollowRedirects, isPreferHttp11, preferHttp11, proxyAddress, proxyAuthorization, proxyType, sslContext, tag, tlsServerName, tlsVersions
-
-
-
-
Constructor Detail
-
Vertx5HttpClientBuilder
public Vertx5HttpClientBuilder(F clientFactory, io.vertx.core.Vertx sharedVertx)
Creates a builder with optional shared Vert.x instance. If no shared instance is provided, creates a new one.- Parameters:
clientFactory- factory for creating HTTP clientssharedVertx- optional shared Vert.x instance
-
-
Method Detail
-
build
public Vertx5HttpClient<F> build()
Builds the configured Vertx5HttpClient instance.- Returns:
- configured Vertx5HttpClient ready for use
-
newInstance
protected Vertx5HttpClientBuilder<F> newInstance(F clientFactory)
Creates a new builder instance sharing the same Vert.x instance.- Specified by:
newInstancein classStandardHttpClientBuilder<Vertx5HttpClient<F extends HttpClient.Factory>,F extends HttpClient.Factory,Vertx5HttpClientBuilder<F extends HttpClient.Factory>>- Parameters:
clientFactory- factory for creating HTTP clients- Returns:
- new builder instance
-
-