App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.request_info._LocalRequestInfo Class Reference
Inheritance diagram for google.appengine.api.request_info._LocalRequestInfo:
google.appengine.api.request_info.RequestInfo

Public Member Functions

def get_request_url
 
def get_request_environ
 
def get_module
 
def get_version
 
def get_instance
 
def get_dispatcher
 
- Public Member Functions inherited from google.appengine.api.request_info.RequestInfo
def get_request_url
 
def get_request_environ
 
def get_module
 
def get_version
 
def get_instance
 
def get_dispatcher
 

Detailed Description

Lookup information about a request using environment variables.

Member Function Documentation

def google.appengine.api.request_info._LocalRequestInfo.get_dispatcher (   self)
Returns the Dispatcher.

Returns:
  The Dispatcher instance.
def google.appengine.api.request_info._LocalRequestInfo.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.api.request_info._LocalRequestInfo.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.api.request_info._LocalRequestInfo.get_request_environ (   self,
  request_id 
)
Returns a dict containing the WSGI environ for the request.
def google.appengine.api.request_info._LocalRequestInfo.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.api.request_info._LocalRequestInfo.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.

The documentation for this class was generated from the following file: