Class VertxAdapterFactory
java.lang.Object
io.apicurio.registry.client.common.VertxAdapterFactory
Factory class for creating Vert.x-based RequestAdapter instances.
This class is isolated from the main RegistryClientRequestAdapterFactory to ensure that Vert.x classes are only loaded when the Vert.x adapter is explicitly selected. This prevents NoClassDefFoundError when using the JDK adapter without Vert.x on the classpath.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.microsoft.kiota.RequestAdaptercreateAdapter(RegistryClientOptions options) Creates a Vert.x-based RequestAdapter configured with authentication, SSL/TLS, and other settings from the provided options.
-
Method Details
-
createAdapter
Creates a Vert.x-based RequestAdapter configured with authentication, SSL/TLS, and other settings from the provided options.- Parameters:
options- the configuration options- Returns:
- a fully configured Vert.x RequestAdapter
- Throws:
IllegalArgumentException- if options are invalid or authentication type is unsupported
-