Class CallbackSpec
java.lang.Object
ai.docling.serve.api.convert.request.CallbackSpec
Represents a webhook callback specification for batch conversion progress notifications.
When configured, the server sends POST requests to the specified URL with progress updates
as documents are processed.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull CallbackSpec.Builderbuilder()@Nullable StringCustom CA certificate (PEM) for endpoint verification.Additional headers sent with callback requests.@NonNull URIgetUrl()The webhook URL that receives POST progress updates.@NonNull CallbackSpec.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getUrl
The webhook URL that receives POST progress updates.- Returns:
- the webhook URL
-
getHeaders
Additional headers sent with callback requests.- Returns:
- the additional headers
-
getCaCert
Custom CA certificate (PEM) for endpoint verification.- Returns:
- the CA certificate in PEM format
-
toString
-