public function dispatch($http_method, $url)
{
if ($this->dispatcher === null) {
throw new \RuntimeException('Route dispatcher is not initialized');
}
$this->dispatched_http_method = $http_method;
$this->dispatched_url = $url;
$this->route_info = $this->dispatcher->dispatch($http_method, $url);
return $this->route_info;
}