Class BaseResponse

java.lang.Object
com.cloudera.cdp.client.BaseResponse
Direct Known Subclasses:
CdpResponse, RestResponse

public abstract class BaseResponse extends Object
  • Constructor Details

    • BaseResponse

      public BaseResponse()
  • Method Details

    • getHttpCode

      public int getHttpCode()
      Gets the http code that was returned by the CDP server.
      Returns:
      the http code
    • getResponseHeaders

      public Map<String,List<String>> getResponseHeaders()
      Gets the http response headers that were returned by the CDP server.
      Returns:
      the response headers