c.l.w.s.LaunchpadBrowserRequest(BasicLaunchpadRequest, BrowserRequest, NotificationRequest, ErrorReportRequest, LaunchpadBrowserRequestMixin) : class documentation

Part of canonical.launchpad.webapp.servers View In Hierarchy

Known subclasses: canonical.launchpad.webapp.servers.APIDocBrowserRequest, canonical.launchpad.webapp.servers.FeedsBrowserRequest, canonical.launchpad.webapp.servers.ProtocolErrorRequest, canonical.launchpad.webapp.servers.TestOpenIDBrowserRequest, canonical.launchpad.webapp.servers.WebServiceClientRequest, canonical.launchpad.webapp.tests.test_servers.TestVhostWebserviceFactory.VHostTestBrowserRequest, canonical.launchpad.webapp.tests.test_servers.TestVhostWebserviceFactory.VHostTestPublication, lp.answers.publisher.AnswersBrowserRequest, lp.blueprints.publisher.BlueprintsBrowserRequest, lp.bugs.publisher.BugsBrowserRequest, lp.code.publisher.CodeBrowserRequest, lp.translations.publisher.TranslationsBrowserRequest, lp.vostok.publisher.VostokBrowserRequest

Implements interfaces: canonical.launchpad.layers.LaunchpadLayer, canonical.launchpad.webapp.interfaces.ILaunchpadBrowserApplicationRequest, transaction.interfaces.ISynchronizer

Integration of launchpad mixin request classes to make an uber launchpad request class.
Method __init__ Undocumented
Method isRedirectInhibited Returns True if edge redirection has been inhibited.
Method form_ng See ILaunchpadBrowserApplicationRequest.
Method setPrincipal Undocumented
Method clearSecurityPolicyCache Undocumented
Method beforeCompletion See ISynchronizer.
Method afterCompletion See ISynchronizer.
Method newTransaction See ISynchronizer.
Method _createResponse As per zope.publisher.browser.BrowserRequest._createResponse

Inherited from BasicLaunchpadRequest:

Method stepstogo The StepsToGo object for this request, allowing you to inspect and alter the remaining traversal steps.
Method retry See IPublisherRequest.
Method getNearest See ILaunchpadBrowserApplicationRequest.getNearest()
Method setInWSGIEnvironment Set a key-value pair in the WSGI environment of this request.
Method query_string_params See ILaunchpadBrowserApplicationRequest.

Inherited from NotificationRequest:

Method notifications Undocumented

Inherited from LaunchpadBrowserRequestMixin:

Method getRootURL See IBasicLaunchpadRequest.
def __init__(self, body_instream, environ, response=None):
Undocumented
def _createResponse(self):
As per zope.publisher.browser.BrowserRequest._createResponse
def isRedirectInhibited(self):
Returns True if edge redirection has been inhibited.
@cachedproperty
def form_ng(self):
See ILaunchpadBrowserApplicationRequest.
def setPrincipal(self, principal):
Undocumented
def clearSecurityPolicyCache(self):
Undocumented
def beforeCompletion(self, transaction):
See ISynchronizer.
def afterCompletion(self, transaction):
See ISynchronizer.

We clear the cache of security policy results on commit, as objects will be refetched from the database and the security checks may result in different answers.

def newTransaction(self, transaction):
See ISynchronizer.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.