Class n.v.NameVirtualHost(rend.Page):

Part of nevow.vhost View Source View In Hierarchy

I am a resource which represents named virtual hosts. And these are my obligatory comments

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
68 Method __init__ Initialize. - Do you really need me to tell you that?
82 Method addHost Add a host to this virtual host. - The Fun Stuff(TM)
96 Method removeHost Remove a host. :(
123 Method locateChild It's a NameVirtualHost, do you know where your children are?

Inherited from Page:

Line # Kind Name Docs
530 Method renderHTTP Render a request
571 Method rememberStuff Undocumented
575 Method renderString Render this page outside of the context of a web request, returning
595 Method renderSynchronously Render this page synchronously, returning a string result immediately.
615 Method child_ When addSlash is True, a page rendered at a url with no
627 Method webFormPost Accept a web form post, either redisplaying the original form (with
687 Method onPostSuccess Undocumented
695 Method onPostFailure Undocumented

Inherited from Fragment (via Page):

Line # Kind Name Docs
384 Method get Return the data
387 Method rend Turn this instance into stan suitable for displaying it in a web page.
432 Method remember Remember an object for an interface on new PageContexts which are

Inherited from DataFactory (via Page, Fragment):

Line # Kind Name Docs
120 Method child Return a conceptual child; an attribute, or a key,

Inherited from RenderFactory (via Page, Fragment):

Line # Kind Name Docs
60 Method renderer Return a renderer with the given name.

Inherited from MacroFactory (via Page, Fragment):

Line # Kind Name Docs
90 Method macro Return a macro with the given name.

Inherited from ConfigurableMixin (via Page, Fragment):

Line # Kind Name Docs
193 Method getBindingNames Expose bind_* methods and attributes on this class.
200 Method getBinding Massage bind_* methods and attributes into an
223 Method getDefault Get a default value for a given binding. If the
235 Method postForm Accept a form post to the given bindingName.

Inherited from ConfigurableFactory (via Page):

Line # Kind Name Docs
263 Method locateConfigurable formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory
276 Method configurable_ Configurable factory for use when self is a configurable;
302 Method configurable_original Configurable factory for use when self.original is a configurable;

Inherited from ChildLookupMixin (via Page):

Line # Kind Name Docs
497 Method childFactory Used by locateChild to return children which are generated
509 Method putChild Undocumented

Inherited from FreeformChildMixin (via Page, ChildLookupMixin):

Line # Kind Name Docs
168 Method child_freeform_hand Undocumented
Line # Kind Name Docs
68 Method __init__ Initialize. - Do you really need me to tell you that?
82 Method addHost Add a host to this virtual host. - The Fun Stuff(TM)
120 Method child Return a conceptual child; an attribute, or a key,
615 Method child_ When addSlash is True, a page rendered at a url with no
168 Method child_freeform_hand Undocumented
497 Method childFactory Used by locateChild to return children which are generated
276 Method configurable_ Configurable factory for use when self is a configurable;
302 Method configurable_original Configurable factory for use when self.original is a configurable;
384 Method get Return the data
200 Method getBinding Massage bind_* methods and attributes into an
193 Method getBindingNames Expose bind_* methods and attributes on this class.
223 Method getDefault Get a default value for a given binding. If the
123 Method locateChild It's a NameVirtualHost, do you know where your children are?
263 Method locateConfigurable formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory
90 Method macro Return a macro with the given name.
695 Method onPostFailure Undocumented
687 Method onPostSuccess Undocumented
235 Method postForm Accept a form post to the given bindingName.
509 Method putChild Undocumented
432 Method remember Remember an object for an interface on new PageContexts which are
571 Method rememberStuff Undocumented
96 Method removeHost Remove a host. :(
387 Method rend Turn this instance into stan suitable for displaying it in a web page.
60 Method renderer Return a renderer with the given name.
530 Method renderHTTP Render a request
575 Method renderString Render this page outside of the context of a web request, returning
595 Method renderSynchronously Render this page synchronously, returning a string result immediately.
627 Method webFormPost Accept a web form post, either redisplaying the original form (with
def __init__(self, default=None, listHosts=True): (source)
Initialize. - Do you really need me to tell you that?
def addHost(self, name, resrc): (source)

Add a host to this virtual host. - The Fun Stuff(TM)

This associates a host named 'name' with a resource 'resrc'
>>> nvh.addHost('nevow.com', nevowDirectory)
>>> nvh.addHost('divmod.org', divmodDirectory)
>>> nvh.addHost('twistedmatrix.com', twistedMatrixDirectory)
I told you that was fun.
def removeHost(self, name): (source)
Remove a host. :(
def locateChild(self, ctx, segments): (source)

It's a NameVirtualHost, do you know where your children are?

This uses locateChild magic so you don't have to mutate the request.
API Documentation for Nevow, generated by pydoctor.