1import webapp2
2
3
4class LazyHandler(webapp2.RequestHandler):
5    def get(self, **kwargs):
6        self.response.out.write('I am a laaazy view.')
7
8
9class CustomMethodHandler(webapp2.RequestHandler):
10    def custom_method(self):
11        self.response.out.write('I am a custom method.')
12
13
14def handle_exception(request, response, exception):
15    return webapp2.Response(body='Hello, custom response world!')
16