![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | base_path |
def | handle |
![]() | |
def | initialize |
def | get |
def | post |
def | head |
def | options |
def | put |
def | delete |
def | trace |
def | error |
def | redirect |
def | handle_exception |
def | new_factory |
def | get_url |
Public Attributes | |
json_response | |
![]() | |
request | |
response | |
Base class for JSON handlers for user interface. Sub-classes should implement the 'handle' method. They should put their response data in the 'self.json_response' dictionary. Any exceptions raised by the sub-class implementation will be sent in a JSON response with the name of the error_class and the error_message.
def google.appengine.ext.mapreduce.base_handler.JsonHandler.__init__ | ( | self, | |
args | |||
) |
Initializer.
def google.appengine.ext.mapreduce.base_handler.JsonHandler.base_path | ( | self | ) |
Base path for all mapreduce-related urls. JSON handlers are mapped to /base_path/command/command_name thus they require special treatment. Raises: BadRequestPathError: if the path does not end with "/command". Returns: The base path.
def google.appengine.ext.mapreduce.base_handler.JsonHandler.handle | ( | self | ) |
To be implemented by sub-classes.