protected function setQueryParam(Request $request, $value)
    {
        $queryParams = $request->getQueryParams();
        $queryParams[$this->queryParam] = $value;
        $request->setQueryParams($queryParams);
    }