HTTPRequestBody(HttpRequest request)

Creates a new instance of this type.

Instances of this type decode request's body based on its content-type.

See HTTPCodecRepository for more information about how data is decoded.

Decoded data is cached the after it is decoded.

Source

HTTPRequestBody(HttpRequest request)
    : this._request = request,
      this._originalByteStream = request,
      super(request);