com.dynamicpdf.api.PdfResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dynamicpdf-api Show documentation
Show all versions of dynamicpdf-api Show documentation
A Java Client API that uses the DynamicPDF API to create, merge, split, form fill, stamp, secure/encrypt PDF documents.
package com.dynamicpdf.api;
/**
* Represents the pdf response.
*/
public class PdfResponse extends Response {
private byte[] content;
/**
* Initializes a new instance of the PdfResponse
class.
*/
public PdfResponse() {
}
/**
* Initializes a new instance of the PdfResponse
class.
* @param pdfContent The byte array of pdf content.
* */
public PdfResponse(byte[] pdfContent) {
content = pdfContent;
}
/**
* Sets the content od pdf.
* @return The content od pdf.
*/
public byte[] getContent() {
return content;
}
/**
* Sets the content od pdf.
* @param value The content od pdf.
*/
private void setContent(byte[] value) {
content = value;
}
}