l.s.w.s.NotFoundRequestPublicationFactory : class documentation

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

An IRequestPublicationFactory which always yields a 404.
Method canHandle See IRequestPublicationFactory.
Method __call__ See IRequestPublicationFactory.
def canHandle(self, environment):
See IRequestPublicationFactory.
def __call__(self):
See IRequestPublicationFactory.

Unlike other publication factories, this one doesn't wrap its request factory in an ApplicationServerSettingRequestFactory. That's because it's only triggered when there's no valid hostname.

API Documentation for Launchpad, generated by pydoctor at 2020-07-03 00:00:04.