utils to support injection of request parameters and httpServletRequests