Class DoclingServeClientBuilderFactory

java.lang.Object
ai.docling.serve.client.DoclingServeClientBuilderFactory
All Implemented Interfaces:
ai.docling.serve.api.spi.DoclingServeApiBuilderFactory

public final class DoclingServeClientBuilderFactory extends Object implements ai.docling.serve.api.spi.DoclingServeApiBuilderFactory
A factory class for creating instances of DoclingServeClient.DoclingServeClientBuilder.

This factory determines which version of Jackson (2 or 3) is available on the application's classpath and provides a corresponding builder for creating DoclingServeClient implementations.

If neither Jackson 2 nor Jackson 3 is present on the classpath, an IllegalStateException is thrown.

The factory uses a type-safe generic method to support custom subclasses of DoclingServeClient and DoclingServeClient.DoclingServeClientBuilder.