code: function lookupParameterOnReq(name, index, length) {
      return (req, res) => {
          if(req[name]) return req[name]
          if(req.query && req.query[name]) return req.query[name]
          if(req.body && req.body[name]) return req.body[name]
          if(res.locals && res.locals[name]) return res.locals[name]
          if(req.app.locals && req.app.locals[name]) return req.app.locals[name]
          /**
           * In this case there is not a matching property in Request object for
           * the given parameter name. 
           * We just accept it, if that is the last parameter of the method, in which 
           * case it should correspond to a callback.
           */
          if(index != (length - 1))
              throw new Error('Parameter ' + name + ' not found in Request object!!!' )
  
          return null
      }
  }
docs: !!!!!DEPRECATED >= 2.0.1
  Given the name of a parameter search for it in req, req.query,
  req.body, res.locals, app.locals.