com.brightcove.player.network

## Class HttpResponse

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

-     public class HttpResponse
      extends java.lang.Object

  Wrapper class to contain the HTTP code and body response

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpResponse()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getResponseBody()`
    `org.json.JSONObject` | `getResponseBodyJSON()`
    `int` | `getResponseCode()`
    `void` | `setResponseBody(java.lang.String responseBody)`
    `void` | `setResponseBodyJSON(org.json.JSONObject responseBodyJSON)`
    `void` | `setResponseCode(int responseCode)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpResponse

          public HttpResponse()

  - ### Method Detail

    - #### getResponseCode

          public int getResponseCode()

    - #### setResponseCode

          public void setResponseCode(int responseCode)

    - #### getResponseBody

          public java.lang.String getResponseBody()

    - #### setResponseBody

          public void setResponseBody(java.lang.String responseBody)

    - #### getResponseBodyJSON

          public org.json.JSONObject getResponseBodyJSON()

    - #### setResponseBodyJSON

          public void setResponseBodyJSON(org.json.JSONObject responseBodyJSON)

    - #### toString

          @NonNull
          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`