def __init__(self, *args, **kwargs): HttpChannel.__init__(self, *args, **kwargs) class requestHandler(tornado.web.RequestHandler): """The RequestHandler class for this Channel.""" @tornado.web.asynchronous def post(inner_self): """Process an incoming request.""" self.processRequest(inner_self) self.request_handler = requestHandler
def __init__(self, *args, **kwargs): Resource.__init__(self) HttpChannel.__init__(self, *args, **kwargs)