Public Member Functions | |
| def | __init__ |
| def | reverse |
Public Attributes | |
| handler_class | |
| kwargs | |
| name | |
| regex | |
Private Member Functions | |
| def | _find_groups |
Private Attributes | |
| _group_count | |
| def tornado.web.URLSpec.__init__ | ( | self, | |
| pattern, | |||
| handler_class, | |||
kwargs = None, |
|||
name = None |
|||
| ) |
Creates a URLSpec.
Parameters:
pattern: Regular expression to be matched. Any groups in the regex
will be passed in to the handler's get/post/etc methods as
arguments.
handler_class: RequestHandler subclass to be invoked.
kwargs (optional): A dictionary of additional arguments to be passed
to the handler's constructor.
name (optional): A name for this handler. Used by
Application.reverse_url.
| def tornado.web.URLSpec._find_groups | ( | self | ) | [private] |
| def tornado.web.URLSpec.reverse | ( | self, | |
| args | |||
| ) |
tornado::web.URLSpec::_group_count [private] |