class documentation

class twisted.web.distrib.ResourcePublisher(pb.Root, styles.Versioned): (source)

View In Hierarchy

ResourcePublisher exposes a remote API which can be used to respond to request.

Instance Variable site The site which will be used for resource lookup.
Method __init__ Undocumented
Class Variable persistenceVersion Undocumented
Method upgradeToVersion2 Undocumented
Method getPerspectiveNamed Undocumented
Method remote_request Look up the resource for the given request and render it.
Class Variable _log Undocumented

Inherited from Root:

Method rootObject A factory is requesting to publish me as a root object.

Inherited from Referenceable (via Root):

Class Variable perspective I am an object sent remotely as a direct reference.
Method remoteMessageReceived A remote message has been received. Dispatch it appropriately.
Method jellyFor (internal)

Inherited from Serializable (via Root, Referenceable):

Method processUniqueID Return an ID which uniquely represents this object for this process.

Inherited from Jellyable (via Root, Referenceable, Serializable):

Method getStateFor Undocumented

Inherited from Versioned:

Class Variable persistenceForgets Undocumented
Method __setstate__ Undocumented
Instance Variable __dict__ Undocumented
Method __getstate__ Get state, adding a version number to it on its way out.
Method versionUpgrade (internal) Do a version upgrade.
site = (source)
The site which will be used for resource lookup.
(type: twisted.web.server.Site)
_log = (source)

Undocumented

def __init__(self, site): (source)

Undocumented

persistenceVersion = (source)
def upgradeToVersion2(self): (source)

Undocumented

def getPerspectiveNamed(self, name): (source)

Undocumented

def remote_request(self, request): (source)

Look up the resource for the given request and render it.

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