Class HttpResponse


  • public class HttpResponse
    extends java.lang.Object
    Wrapper class to contain the HTTP code and body response
    • 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