Class ConvertDocumentResponse

java.lang.Object
ai.docling.serve.api.response.ProcessedDocumentResponse
ai.docling.serve.api.convert.response.ConvertDocumentResponse
Direct Known Subclasses:
InBodyConvertDocumentResponse, PreSignedUrlConvertDocumentResponse, PreSignedUrlConvertResponse, ZipArchiveConvertDocumentResponse

Abstract response returned by the Convert API for a single conversion request.

Deserialization uses explicit custom deserializers that dispatch to the correct concrete subtype based on distinguishing JSON fields.

Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty collections/strings are omitted from JSON output.

See Also:
  • Constructor Details

    • ConvertDocumentResponse

      public ConvertDocumentResponse()
  • Method Details

    • getResponseType

      public abstract ResponseType getResponseType()
      Type of response
      Returns:
      the response type