Package com.dynamicpdf.api
Class Response
java.lang.Object
com.dynamicpdf.api.Response
- Direct Known Subclasses:
JsonResponse
,PdfResponse
,XmlResponse
Represents the base class for response.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the error id.Gets the error json.Gets the error message.boolean
Gets the boolean, indicating the response's status.int
Gets the status code.
-
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
Gets the error message.- Returns:
- The error message.
-
getErrorId
Gets the error id.- Returns:
- The error id.
-
getStatusCode
public int getStatusCode()Gets the status code.- Returns:
- The status code.
-
getErrorJson
Gets the error json.- Returns:
- The error json.
-