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

Public Member Functions

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

Detailed Description

Dispatcher across multiple URLMatcher instances.

Constructor & Destructor Documentation

def google.appengine.tools.old_dev_appserver.MatcherDispatcher.__init__ (   self,
  config,
  login_url,
  module_manager,
  url_matchers,
  get_user_info = dev_appserver_login.GetUserInfo,
  login_redirect = dev_appserver_login.LoginRedirect 
)
Initializer.

Args:
  config: AppInfoExternal instance representing the parsed app.yaml file.
  login_url: Relative URL which should be used for handling user logins.
  module_manager: ModuleManager instance that is used to detect and reload
modules if the matched Dispatcher is dynamic.
  url_matchers: Sequence of URLMatcher objects.
  get_user_info: Used for dependency injection.
  login_redirect: Used for dependency injection.

Member Function Documentation

def google.appengine.tools.old_dev_appserver.MatcherDispatcher.Dispatch (   self,
  request,
  outfile,
  base_env_dict = None 
)
Dispatches a request to the first matching dispatcher.

Matchers are checked in the order they were supplied to the constructor.
If no matcher matches, a 404 error will be written to the outfile. The
path variable supplied to this method is ignored.

The value of request.path is ignored.

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