l.s.w.s.VHostWebServiceRequestPublicationFactory(VirtualHostRequestPublicationFactory) : class documentation

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

An IRequestPublicationFactory handling requests to vhosts.

It also handles requests to the launchpad web service, if the request's path points to a web service resource.

Method getAcceptableMethods See VirtualHostRequestPublicationFactory.
Method getRequestAndPublicationFactories See VirtualHostRequestPublicationFactory.
Method isWebServicePath Does the path refer to a web service resource?

Inherited from VirtualHostRequestPublicationFactory:

Method __init__ Creates a new factory.
Method canHandle See IRequestPublicationFactory.
Method __call__ See IRequestPublicationFactory.
Method checkRequest Makes sure that the incoming HTTP request is of an expected type.
def getAcceptableMethods(self, environment):
See VirtualHostRequestPublicationFactory.

If this is a request for a webservice path, returns the appropriate methods.

def getRequestAndPublicationFactories(self, environment):
See VirtualHostRequestPublicationFactory.

If this is a request for a webservice path, returns the appropriate factories.

def isWebServicePath(self, path):
Does the path refer to a web service resource?
API Documentation for Launchpad, generated by pydoctor at 2020-07-03 00:00:04.