Class HttpResponse

java.lang.Object
com.brightcove.player.network.HttpResponse

public class HttpResponse extends Object
Wrapper class to contain the HTTP code and body response
  • Constructor Details

    • HttpResponse

      public HttpResponse()
  • Method Details

    • getResponseCode

      public int getResponseCode()
    • setResponseCode

      public void setResponseCode(int responseCode)
    • getResponseBody

      public String getResponseBody()
    • setResponseBody

      public void setResponseBody(String responseBody)
    • getResponseBodyJSON

      public org.json.JSONObject getResponseBodyJSON()
    • setResponseBodyJSON

      public void setResponseBodyJSON(org.json.JSONObject responseBodyJSON)
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object