Package org.nekosoft.pdffer.web
Class AbstractRequestData
java.lang.Object
org.nekosoft.pdffer.web.AbstractRequestData
- Direct Known Subclasses:
DownloadRequestData
,EmailRequestData
A DTO with the payload for a PDF template. This class is used as a base class to define
the structure of the JSON messages that can be sent to the PDFfer endpoints in order to
generate PDFs on the fly through the PDFfer web endpoints.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe payload data that the PDF template will use to generate the PDF.void
setPayload(Map<String,Object> payload)
Sets payload data that the PDF template will use to generate the PDF.
-
Constructor Details
-
AbstractRequestData
public AbstractRequestData()
-
-
Method Details
-
getPayload
The payload data that the PDF template will use to generate the PDF.- Returns:
- the payload data
-
setPayload
Sets payload data that the PDF template will use to generate the PDF.- Parameters:
payload
- the payload data
-