![]() |
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 | get_request_url |
def | get_request_environ |
def | get_module |
def | get_version |
def | get_instance |
def | get_dispatcher |
Allows stubs to lookup state linked to the request making the API call.
def google.appengine.tools.php_cli.APIRequestInfo.get_dispatcher | ( | self | ) |
Returns the Dispatcher. Returns: The Dispatcher instance.
def google.appengine.tools.php_cli.APIRequestInfo.get_instance | ( | self, | |
request_id | |||
) |
Returns the instance serving this request. Args: request_id: The string id of the request making the API call. Returns: An opaque representation of the instance serving this request. It should only be passed to dispatcher methods expecting an instance.
def google.appengine.tools.php_cli.APIRequestInfo.get_module | ( | self, | |
request_id | |||
) |
Returns the name of the module serving this request. Args: request_id: The string id of the request making the API call. Returns: A str containing the module name.
def google.appengine.tools.php_cli.APIRequestInfo.get_request_environ | ( | self, | |
request_id | |||
) |
Returns a dict containing the WSGI environ for the request.
def google.appengine.tools.php_cli.APIRequestInfo.get_request_url | ( | self, | |
request_id | |||
) |
Returns the URL the request e.g. 'http://localhost:8080/foo?bar=baz'. Args: request_id: The string id of the request making the API call. Returns: The URL of the request as a string.
def google.appengine.tools.php_cli.APIRequestInfo.get_version | ( | self, | |
request_id | |||
) |
Returns the version of the module serving this request. Args: request_id: The string id of the request making the API call. Returns: A str containing the version.