![]() |
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 | GetHandlerYaml |
def | GenerateSecurityConstraintHandlers |
def | GenerateWelcomeFileHandlers |
def | TranslateAdditionalOptions |
def | CreateHandlerWithoutTrailingStar |
Public Attributes | |
app_engine_web_xml | |
web_xml | |
Ancestor class for StaticHandlerGenerator and DynamicHandlerGenerator. Contains shared functionality. Both static and dynamic handler generators work in a similar way. Both obtain a list of patterns, static includes and web.xml servlet url patterns, respectively, add security constraint info to those lists, sort them, and then generate Yaml statements for each entry.
def google.appengine.tools.handler_generator.HandlerGenerator.CreateHandlerWithoutTrailingStar | ( | self, | |
h | |||
) |
Creates identical handler without trailing star in pattern. According to servlet spec, baz/* should match baz. Args: h: a Handler. Returns: If h.pattern is of form "baz/*", returns a singleton list with a SimpleHandler with pattern "baz" and the properties of h. Otherwise, returns an empty list.
def google.appengine.tools.handler_generator.HandlerGenerator.GenerateSecurityConstraintHandlers | ( | self | ) |
Creates Handlers for security constraint information.
def google.appengine.tools.handler_generator.HandlerGenerator.GenerateWelcomeFileHandlers | ( | self | ) |
Creates handlers for welcome files.
def google.appengine.tools.handler_generator.HandlerGenerator.TranslateAdditionalOptions | ( | self, | |
h | |||
) |
Generates Yaml statements from security constraint information.