def route(self, path):<EOL>
logging.getLogger(__name__).debug("<STR_LIT>", path)<EOL>cls = None<EOL>for strategy in self._strategies:<EOL><INDENT>if strategy.can_route(path):<EOL><INDENT>cls = strategy.route(path)<EOL>break<EOL><DEDENT><DEDENT>if cls is None:<EOL><INDENT>raise RoutingError(path)<EOL><DEDENT>return self._create_result(cls)<EOL>
Returns the task handling the given request path.