Example #1
0
    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
Example #2
0
    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
Example #3
0
    def __init__(self, *args, **kwargs):

        Resource.__init__(self)
        HttpChannel.__init__(self, *args, **kwargs)
Example #4
0
    def __init__(self, *args, **kwargs):

        Resource.__init__(self)
        HttpChannel.__init__(self, *args, **kwargs)