All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dynamicpdf.api.PdfResponse Maven / Gradle / Ivy

Go to download

A Java Client API that uses the DynamicPDF API to create, merge, split, form fill, stamp, secure/encrypt PDF documents.

There is a newer version: 1.10.1
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy