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.tools.old_dev_appserver.CGIDispatcher Class Reference
Inheritance diagram for google.appengine.tools.old_dev_appserver.CGIDispatcher:
google.appengine.tools.old_dev_appserver.URLDispatcher google.appengine.tools.old_dev_appserver.LocalCGIDispatcher

Public Member Functions

def __init__
 
def Dispatch
 
def __str__
 
- Public Member Functions inherited from google.appengine.tools.old_dev_appserver.URLDispatcher
def Dispatch
 
def EndRedirect
 

Detailed Description

Dispatcher that executes Python CGI scripts.

Constructor & Destructor Documentation

def google.appengine.tools.old_dev_appserver.CGIDispatcher.__init__ (   self,
  config,
  module_dict,
  root_path,
  path_adjuster,
  setup_env = SetupEnvironment,
  exec_cgi = ExecuteCGI 
)
Initializer.

Args:
  config: AppInfoExternal instance representing the parsed app.yaml file.
  module_dict: Dictionary in which application-loaded modules should be
preserved between requests. This dictionary must be separate from the
sys.modules dictionary.
  path_adjuster: Instance of PathAdjuster to use for finding absolute
paths of CGI files on disk.
  setup_env, exec_cgi: Used for dependency injection.

Member Function Documentation

def google.appengine.tools.old_dev_appserver.CGIDispatcher.__str__ (   self)
Returns a string representation of this dispatcher.
def google.appengine.tools.old_dev_appserver.CGIDispatcher.Dispatch (   self,
  request,
  outfile,
  base_env_dict = None 
)
Dispatches the Python CGI.

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