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

public final class PutTarget extends Target
A concrete Target implementation for delivering a converted document to a specified URI via an HTTP PUT operation.

The PutTarget class represents a delivery method where the document is sent to the given URL. Supported serialized fields include:

  • kind - inherited from the Target base class and always set to PUT for this implementation.
  • url - the URI to which the document should be delivered.

This class provides JSON serialization annotations to include only non-empty fields in the serialization output. The url is nullable, allowing the absence of a URI to be explicitly represented.