java.lang.Object
ai.docling.serve.api.convert.request.target.Target
ai.docling.serve.api.convert.request.target.ZipTarget

public final class ZipTarget extends Target
Represents a specific Target that delivers the converted document as a zipped resource.

ZipTarget is one of the concrete implementations of the abstract Target class. It supports the zipped delivery method, denoted by the Target.Kind.ZIP value.

This class overrides methods to specialize the behavior for the ZIP delivery kind:

  • toString(): Produces a string representation of the ZipTarget instance.

Instances of this class will only include non-empty JSON fields during serialization, as governed by JsonInclude.Include.NON_EMPTY.

The ZipTarget instances are immutable and final.