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 @NonNull HttpSource.Builderbuilder()Additional headers used to fetch the urls, e.g.@NonNull URIgetUrl()HTTP url to process.@NonNull HttpSource.Builder@NonNull StringtoString()