class_docstr: Rule-based router implementation.
class_docstr_tok: ["Rule-based","router","implementation","."]
code: def find_handler(self, request, **kwargs):
      for rule in self.rules:
          target_params = rule.matcher.match(request)
          if target_params is not None:
              if rule.target_kwargs:
                  target_params["target_kwargs"] = rule.target_kwargs
  
              delegate = self.get_target_delegate(
                  rule.target, request, **target_params
              )
  
              if delegate is not None:
                  return delegate
  
      return None
  
imports: from __future__ import absolute_import, division, print_function
  import re
  from functools import partial
  from tornado import httputil
  from tornado.httpserver import _CallableAdapter
  from tornado.escape import url_escape, url_unescape, utf8
  from tornado.log import app_log
  from tornado.util import basestring_type, import_object, re_unescape, unicode_type
label_desc: Use image node_id 4 for calling the RuleRouter obj's underlying member method code with example usage: obj.find_handler(request) and returns: None, delegate