mewlo.mpacks.core.controller.mcontroller module

mcontroller.py The base class for callable controllers that are invoked when activating routes

class mewlo.mpacks.core.controller.mcontroller.MewloController(function=None, root=None)[source]

Bases: object

The MewloController class handles requests that are routed to it.

build_structure(parent, eventlist)[source]

Do initial preparatory stuff on system startup.

dumps(indent=0)[source]

Return a string (with newlines and indents) that displays some debugging useful information about the object.

find_ourcallable()[source]

Lookup the callable wrapped by this controller object.

get_controllerroot()[source]
get_isenabled()[source]
get_parent()[source]
invoke(request)[source]

Invoke callable on the request. Sublassed could implement this differently :return: failure or None on success

Table Of Contents

Previous topic

mewlo.mpacks.core.controller package

Next topic

mewlo.mpacks.core.controller.mcontroller_staticfiles module

This Page