l.s.w.i.IBasicLaunchpadRequest(Interface) : interface documentation

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

Known subclasses: lp.services.webapp.interfaces.ILaunchpadBrowserApplicationRequest

No interface docstring
Attribute stepstogo The StepsToGo object for this request, allowing you to inspect and alter the remaining traversal steps.
Attribute traversed_objects List of traversed objects. This is appended to during traversal.
Attribute query_string_params A dictionary of the query string parameters.
Bool is_ajax Indicates whether the request is an XMLHttpRequest.
Method getRootURL Return this request's root URL.
Method getNearest Searches for the last traversed object to implement one of
Method getURL See IHTTPApplicationRequest.
stepstogo =
The StepsToGo object for this request, allowing you to inspect and alter the remaining traversal steps.
traversed_objects =
List of traversed objects. This is appended to during traversal.
query_string_params =
A dictionary of the query string parameters.
is_ajax =
Indicates whether the request is an XMLHttpRequest.
def getRootURL(rootsite):
Return this request's root URL.

If rootsite is not None, then return the root URL for that rootsite, looked up from our config.

def getNearest(*some_interfaces):
Searches for the last traversed object to implement one of the given interfaces.

Returns an (object, matching_interface) tuple. If the object implements more than one of the interfaces, the first one is returned.

If no matching object is found, the tuple (None, None) is returned.

def getURL(level=0, path_only=False, include_query=False):
See IHTTPApplicationRequest.

Additionally, if include_query is True, the query string is included in the returned URL.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.