web_routedef

Module Contents

Classes

AbstractRouteDef()
RouteDef()
StaticDef()
RouteTableDef(self) Route definition table

Functions

route(method,path,handler,**kwargs)
head(path,handler,**kwargs)
get(path,handler,**kwargs)
post(path,handler,**kwargs)
put(path,handler,**kwargs)
patch(path,handler,**kwargs)
delete(path,handler,**kwargs)
view(path,handler,**kwargs)
static(prefix,path,**kwargs)
class AbstractRouteDef
register(router)
class RouteDef
__repr__()
register(router)
class StaticDef
__repr__()
register(router)
route(method, path, handler, **kwargs)
head(path, handler, **kwargs)
get(path, handler, **kwargs)
post(path, handler, **kwargs)
put(path, handler, **kwargs)
patch(path, handler, **kwargs)
delete(path, handler, **kwargs)
view(path, handler, **kwargs)
static(prefix, path, **kwargs)
class RouteTableDef

Route definition table

__init__()
__repr__()
__getitem__(index)
__iter__()
__len__()
__contains__(item)
route(method, path, **kwargs)
head(path, **kwargs)
get(path, **kwargs)
post(path, **kwargs)
put(path, **kwargs)
patch(path, **kwargs)
delete(path, **kwargs)
view(path, **kwargs)
static(prefix, path, **kwargs)