Class HttpResponse

java.lang.Object
io.odilon.client.http.HttpResponse

public class HttpResponse extends Object

ResponseHeader and Response into one object to pass/return in various methods

Author:
atolomei@novamens.com (Alejandro Tolomei)
  • Constructor Details

    • HttpResponse

      public HttpResponse(ResponseHeader header, okhttp3.Response response)
  • Method Details

    • header

      public ResponseHeader header()
    • body

      public okhttp3.ResponseBody body()
    • response

      public okhttp3.Response response()
    • httpHeaders

      public Map<String,List<String>> httpHeaders()