l.s.w.v.AllVirtualHostsConfiguration : class documentation

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

A representation of the virtual hosting configuration for
the current Launchpad instance.

self.use_https : do we use http or https
                (unless overridden for a particular virtual host)
self.configs : dict of 'config item name from conf file':VirtualHostConfig.
               so, like this:
               {'mainsite': config_for_mainsite,
                'blueprints': config_for_blueprints,
                 ...
                }
self.hostnames : set of hostnames handled by the vhost config
Method __init__ Initialize all virtual host settings from launchpad.conf.
Method reload Reload the VHost data.
Method use_https Do the vhosts use HTTPS?
Method configs Return the VirtualHostConfig dict.
Method hostnames Return the set of hostnames.
Method _getVHostData Parse the vhosts on demand.
def __init__(self):
Initialize all virtual host settings from launchpad.conf.

launchpad_conf_vhosts: The virtual_hosts config item from launchpad.conf.

def _getVHostData(self):
Parse the vhosts on demand.
def reload(self):
Reload the VHost data.
@property
def use_https(self):
Do the vhosts use HTTPS?
@property
def configs(self):
Return the VirtualHostConfig dict.
@property
def hostnames(self):
Return the set of hostnames.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.