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

Part of lp.services.webapp.servers View In Hierarchy

Known subclasses: lp.answers.publisher.AnswersBrowserRequest, lp.blueprints.publisher.BlueprintsBrowserRequest, lp.bugs.publisher.BugsBrowserRequest, lp.code.publisher.CodeBrowserRequest, lp.services.webapp.servers.FeedsBrowserRequest, lp.services.webapp.servers.ProtocolErrorRequest, lp.services.webapp.servers.TestOpenIDBrowserRequest, lp.services.webapp.servers.WebServiceClientRequest, lp.services.webapp.tests.test_servers.TestVhostWebserviceFactory.VHostTestBrowserRequest, lp.services.webapp.tests.test_servers.TestVhostWebserviceFactory.VHostTestPublication, lp.services.webhooks.payload.WebhookPayloadRequest, lp.translations.publisher.TranslationsBrowserRequest

Integration of launchpad mixin request classes to make an uber launchpad request class.
Method __init__ Undocumented
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
Method _decode Undocumented

Inherited from BasicLaunchpadRequest:

Method stepstogo Undocumented
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 LaunchpadBrowserRequestMixin (via BasicLaunchpadRequest):

Method getRootURL See IBasicLaunchpadRequest.
Method is_ajax See IBasicLaunchpadRequest.
Method getURL See IBasicLaunchpadRequest.

Inherited from NotificationRequest:

Method notifications Undocumented
def __init__(self, body_instream, environ, response=None):
Undocumented
def _createResponse(self):
As per zope.publisher.browser.BrowserRequest._createResponse
def _decode(self, text):
Undocumented
@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 2019-02-22 00:00:05.