Class HttpSource
java.lang.Object
ai.docling.serve.api.convert.request.source.Source
ai.docling.serve.api.convert.request.source.HttpSource
Represents an HTTP-based data source.
This class is a concrete implementation of
Source and provides
functionality for configuring an HTTP endpoint with optional headers.
JSON serialization/deserialization:
url- Represents the URI of the HTTP source.headers- A map of custom HTTP headers for the request.
By default, JSON includes non-empty fields only.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpSource.Builderbuilder()@NonNull URIgetUrl()toString()