Abstract base class for a subclass that manages a runtime process.
def google.appengine.tools.devappserver2.instance.RuntimeProxy.handle |
( |
|
self, |
|
|
|
environ, |
|
|
|
start_response, |
|
|
|
url_map, |
|
|
|
match, |
|
|
|
request_id, |
|
|
|
request_type |
|
) |
| |
Serves this request by forwarding it to the runtime process.
Args:
environ: An environ dict for the request as defined in PEP-333.
start_response: A function with semantics defined in PEP-333.
url_map: An appinfo.URLMap instance containing the configuration for the
handler matching this request.
match: A re.MatchObject containing the result of the matched URL pattern.
request_id: A unique string id associated with the request.
request_type: The type of the request. See instance.*_REQUEST module
constants.
Yields:
A sequence of strings containing the body of the HTTP response.
def google.appengine.tools.devappserver2.instance.RuntimeProxy.quit |
( |
|
self | ) |
|
Terminates the runtime process.
def google.appengine.tools.devappserver2.instance.RuntimeProxy.start |
( |
|
self | ) |
|
Starts the runtime process and waits until it is ready to serve.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/devappserver2/instance.py