
Public Member Functions | |
| def | check_type |
| def | get |
| def | post |
| def | prepare |
Public Attributes | |
| errors | |
Definition at line 356 of file web_test.py.
| def tornado.test.web_test.TypeCheckHandler.check_type | ( | self, | |
| name, | |||
| obj, | |||
| expected_type | |||
| ) |
Definition at line 393 of file web_test.py.
| def tornado.test.web_test.TypeCheckHandler.get | ( | self, | |
| path_component | |||
| ) |
Definition at line 383 of file web_test.py.
| def tornado.test.web_test.TypeCheckHandler.post | ( | self, | |
| path_component | |||
| ) |
Definition at line 389 of file web_test.py.
| def tornado.test.web_test.TypeCheckHandler.prepare | ( | self | ) |
Called at the beginning of a request before `get`/`post`/etc. Override this method to perform common initialization regardless of the request method. Asynchronous support: Decorate this method with `.gen.coroutine` or `.return_future` to make it asynchronous (the `asynchronous` decorator cannot be used on `prepare`). If this method returns a `.Future` execution will not proceed until the `.Future` is done. .. versionadded:: 3.1 Asynchronous support.
Reimplemented from tornado.web.RequestHandler.
Definition at line 357 of file web_test.py.
Definition at line 357 of file web_test.py.