Pluggdapps

Component system. Web framework. And more ...

webapp – Base class for all web-applications.

Module contents

class pluggdapps.web.webapp.WebApp(pa, *args, **kwargs)[source]

Bases: pluggdapps.plugin.Plugin

Base class for all web applications plugins. Implements pluggdapps.interfaces.IWebApp interface, refer to interface specification to understand the general intent and purpose of web-application plugins.

Every http request enters the application through this plugin class. A comprehensive set of configuration settings are made available by this class.

startapp()[source]

pluggdapps.interfaces.IWebApps.startapp() interface method.

dorequest(request, body=None, chunk=None, trailers=None)[source]

pluggdapps.interfaces.IWebApps.dorequest() interface method.

dochunk(request, chunk=None, trailers=None)[source]

pluggdapps.interfaces.IWebApps.dochunk() interface method.

onfinish(request)[source]

pluggdapps.interfaces.IWebApps.onfinish() interface method.

shutdown()[source]

pluggdapps.interfaces.IWebApps.shutdown() interface method.

urlfor(request, *args, **kwargs)[source]

pluggdapps.interfaces.IWebApps.urlfor() interface method.

pathfor(request, *args, **kwargs)[source]

pluggdapps.interfaces.IWebApps.pathfor() interface method.