Package com.cloudera.cdp.client
Class BaseResponse
java.lang.Object
com.cloudera.cdp.client.BaseResponse
- Direct Known Subclasses:
CdpResponse
,RestResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the http code that was returned by the CDP server.Gets the http response headers that were returned by the CDP server.
-
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
Gets the http response headers that were returned by the CDP server.- Returns:
- the response headers
-