Package kubevirt

Class ApiException

All Implemented Interfaces:
Serializable

@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") 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