

def __init__(self, application, request, **kwargs):
    super(RequestHandler, self).__init__()
    self.application = application
    self.request = request
    self._headers_written = False
    self._finished = False
    self._auto_finish = True
    self._transforms = None
    self._prepared_future = None
    self.path_args = None
    self.path_kwargs = None
    self.ui = ObjectDict(((n, self._ui_method(m)) for (n, m) in application.ui_methods.items()))
    self.ui['_tt_modules'] = _UIModuleNamespace(self, application.ui_modules)
    self.ui['modules'] = self.ui['_tt_modules']
    self.clear()
    self.request.connection.set_close_callback(self.on_connection_close)
    self.initialize(**kwargs)

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py RequestHandler.__init__/original