refactored Request::getParameters