Package io.apicurio.registry.client
Class RegistryClientRequestAdapterFactory
java.lang.Object
io.apicurio.registry.client.RegistryClientRequestAdapterFactory
Factory class containing shared logic for creating Registry clients (v2 and v3).
This class provides all the common functionality for authentication, SSL/TLS configuration,
and retry logic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static com.microsoft.kiota.RequestAdaptercreateRequestAdapter(RegistryClientOptions options, io.vertx.core.Vertx defaultVertx) Creates a RequestAdapter configured with authentication, SSL/TLS, and retry settings from the provided options.
-
Constructor Details
-
RegistryClientRequestAdapterFactory
public RegistryClientRequestAdapterFactory()
-
-
Method Details
-
createRequestAdapter
protected static com.microsoft.kiota.RequestAdapter createRequestAdapter(RegistryClientOptions options, io.vertx.core.Vertx defaultVertx) Creates a RequestAdapter configured with authentication, SSL/TLS, and retry settings from the provided options.- Parameters:
options- the configuration optionsdefaultVertx- the default Vertx instance to use if none is provided in options- Returns:
- a fully configured RequestAdapter
- Throws:
IllegalArgumentException- if options are invalid
-