| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package web :: Module vhost :: Class VirtualHostCollection |
|
Collection--+ |Constrained--+ |Homogenous--+ | VirtualHostCollection
Wrapper for virtual hosts collection.
This exists for configuration purposes.| Method Summary | |
|---|---|
__init__(self,
nvh)
| |
Remove a static reference for 'name'. | |
Get an entity that was added to me using putEntity. | |
Retrieve a list of all name, entity pairs that I store references to. | |
reallyPutEntity(self,
name,
entity)
| |
| Inherited from Homogenous | |
A method that determines whether an entity may be added to me. | |
| |
| |
| Inherited from Constrained | |
A method that determines whether an entity may be added to me with a given name. | |
Store an entity if it meets both constraints. | |
| Inherited from Collection | |
Subclass this to generate an entity on demand. | |
Retrieve an entity from me. | |
A list of all name, entity that I can generate on demand. | |
Retrieve a list of the names of entities that I store references to. | |
Retrieve a list of all name, entity pairs I contain. | |
Retrieve a list of all names for entities that I contain. | |
Retrieve a list of the names of entities that I store references to. | |
Remove an entity for 'name', based on the content of 'request'. | |
Store an entity for 'name', based on the content of 'request'. | |
| Class Variable Summary | |
|---|---|
class |
entityType = twisted.web.resource.Resource |
| Method Details |
|---|
delEntity(self, name)Remove a static reference for 'name'. Raises a KeyError if the operation fails.
|
getStaticEntity(self, name)Get an entity that was added to me using putEntity. This method will return 'None' if it fails.
|
listStaticEntities(self)Retrieve a list of all name, entity pairs that I store references to. See getStaticEntity.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat May 15 20:07:43 2004 | http://epydoc.sf.net |