Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Public Attributes | List of all members
webiopi.protocols.rest.RESTHandler Class Reference

Public Member Functions

def __init__
 
def addMacro
 
def addRoute
 
def findRoute
 
def extract
 
def getDeviceRoute
 
def callDeviceFunction
 
def do_GET
 
def do_POST
 
def getJSON
 

Public Attributes

 device_mapping
 
 export
 
 routes
 
 macros
 

Detailed Description

Definition at line 30 of file rest.py.

Constructor & Destructor Documentation

def webiopi.protocols.rest.RESTHandler.__init__ (   self)

Definition at line 31 of file rest.py.

Member Function Documentation

def webiopi.protocols.rest.RESTHandler.addMacro (   self,
  macro 
)

Definition at line 38 of file rest.py.

References webiopi.protocols.rest.RESTHandler.macros.

def webiopi.protocols.rest.RESTHandler.addRoute (   self,
  source,
  destination 
)

Definition at line 41 of file rest.py.

References webiopi.protocols.rest.RESTHandler.routes.

def webiopi.protocols.rest.RESTHandler.callDeviceFunction (   self,
  method,
  path,
  data = None 
)
def webiopi.protocols.rest.RESTHandler.do_GET (   self,
  relativePath,
  compact = False 
)
def webiopi.protocols.rest.RESTHandler.do_POST (   self,
  relativePath,
  data,
  compact = False 
)
def webiopi.protocols.rest.RESTHandler.extract (   self,
  fmtArray,
  pathArray,
  args 
)
def webiopi.protocols.rest.RESTHandler.findRoute (   self,
  path 
)
def webiopi.protocols.rest.RESTHandler.getDeviceRoute (   self,
  method,
  path 
)
def webiopi.protocols.rest.RESTHandler.getJSON (   self,
  compact = False 
)

Member Data Documentation

webiopi.protocols.rest.RESTHandler.device_mapping
webiopi.protocols.rest.RESTHandler.export

Definition at line 33 of file rest.py.

Referenced by webiopi.protocols.rest.RESTHandler.getJSON().

webiopi.protocols.rest.RESTHandler.macros
webiopi.protocols.rest.RESTHandler.routes

The documentation for this class was generated from the following file: