Class Response

java.lang.Object
com.dynamicpdf.api.Response
Direct Known Subclasses:
JsonResponse, PdfResponse, XmlResponse

public class Response extends Object
Represents the base class for response.
  • Constructor Details

    • Response

      public Response()
  • Method Details

    • getIsSuccessful

      public boolean getIsSuccessful()
      Gets the boolean, indicating the response's status.
      Returns:
      The boolean, indicating the response's status.
    • getErrorMessage

      public String getErrorMessage()
      Gets the error message.
      Returns:
      The error message.
    • getErrorId

      public UUID getErrorId()
      Gets the error id.
      Returns:
      The error id.
    • getStatusCode

      public int getStatusCode()
      Gets the status code.
      Returns:
      The status code.
    • getErrorJson

      public String getErrorJson()
      Gets the error json.
      Returns:
      The error json.