HttpResponseWrapper constructor

HttpResponseWrapper(
  1. HttpResponse? origin
)

Constructor.

  • origin: the original response. Note: it can be null. However, if null, you can't call most of methods, including origin. It is design to make it easier to implement a dummy response.

Implementation

HttpResponseWrapper(HttpResponse? origin): super(origin);