protected function getHandler(ServletRequestInterface $servletRequest)
    {
        foreach ($this->handlerMappings as $handlerMapping) {
            $handler = $handlerMapping->getHandler($servletRequest);
            if ($handler != null) {
                return $handler;
            }
        }
        return null;
    }