Class PdfResponse

java.lang.Object
com.dynamicpdf.api.Response
com.dynamicpdf.api.PdfResponse

public class PdfResponse extends Response
Represents the pdf response.
  • Constructor Details

    • PdfResponse

      public PdfResponse()
      Initializes a new instance of the PdfResponse class.
    • PdfResponse

      public PdfResponse(byte[] pdfContent)
      Initializes a new instance of the PdfResponse class.
      Parameters:
      pdfContent - The byte array of pdf content.
  • Method Details

    • getContent

      public byte[] getContent()
      Sets the content od pdf.
      Returns:
      The content od pdf.