HttpRequestWrapper constructor

HttpRequestWrapper(
  1. HttpRequest? origin
)

Constructor.

  • origin: the original request. 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 request.

Implementation

HttpRequestWrapper(HttpRequest? origin): _origin = origin;