def connect(self, name, route, controller, **kwargs):
        """Mount an HTTP handler into the router."""
        self.controllers[name] = controller
        self.mapper.connect(name, route, controller=name, **kwargs)
Mount an HTTP handler into the router.
cherrypy/_cpdispatch.py