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