Class ApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.nifi.api.toolkit.ApiException
All Implemented Interfaces:
Serializable

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class ApiException extends Exception
See Also:
  • Field Details

    • code

      private int code
    • responseHeaders

      private Map<String,List<String>> responseHeaders
    • responseBody

      private String responseBody
  • Constructor Details

  • Method Details

    • getCode

      public int getCode()
      Get the HTTP status code.
      Returns:
      HTTP status code
    • getResponseHeaders

      public Map<String,List<String>> getResponseHeaders()
      Get the HTTP response headers.
      Returns:
      A map of list of string
    • getResponseBody

      public String getResponseBody()
      Get the HTTP response body.
      Returns:
      Response body in the form of string