protected function _addRoute($routeType, $routeData)
    {
        switch ($routeType) {
            case RouteTypes::TYPE_DEFAULT_ROUTE:
                $route = $this->_addDefaultRoute($routeData);
                break;
            case RouteTypes::TYPE_REDIRECT_ROUTE:
                $route = $this->_addRedirectRoute($routeData);
                break;
            default:
                throw new BadRequestException();
        }
        return $route;
    }