class documentation

class twisted.web.static.Registry(components.Componentized): (source)

View In Hierarchy

I am a Componentized object that will be made available to internal Twisted file-based dynamic web content such as .rpy and .epy scripts.

Method __init__ Undocumented
Method cachePath Undocumented
Method getCachedPath Undocumented
Instance Variable _pathCache Undocumented

Inherited from Componentized:

Class Variable persistenceVersion Undocumented
Method locateAdapterClass Undocumented
Method setAdapter Cache a provider for the given interface, by adapting self using the given adapter class.
Method addAdapter Utility method that calls addComponent. I take an adapter class and instantiate it with myself as the first argument.
Method setComponent Cache a provider of the given interface.
Method addComponent Add a component to me, for all appropriate interfaces.
Method unsetComponent Remove my component specified by the given interface class.
Method removeComponent Remove the given component from me entirely, for all interfaces for which it has been registered.
Method getComponent Create or retrieve an adapter for the given interface.
Method __conform__ Undocumented
Instance Variable _adapterCache Undocumented
def __init__(self): (source)
_pathCache = (source)

Undocumented

(type: dict)
def cachePath(self, path, rsrc): (source)

Undocumented

def getCachedPath(self, path): (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.