Class ApiResponseHttp

java.lang.Object
com.datastax.astra.internal.api.ApiResponseHttp

public class ApiResponseHttp extends Object
Response HTTP.
  • Constructor Details

    • ApiResponseHttp

      public ApiResponseHttp(String body, int code)
      Defaut constructor.
      Parameters:
      body - request body
      code - request code
    • ApiResponseHttp

      public ApiResponseHttp(String body, int code, Map<String,String> headers)
      Full constructor.
      Parameters:
      body - request body
      code - request code
      headers - request headers