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