| Home | Trees | Indices | Help |
|---|
|
|
SocketServer.BaseRequestHandler --+
|
SocketServer.StreamRequestHandler --+
|
BaseHTTPServer.BaseHTTPRequestHandler --+
|
SimpleHTTPServer.SimpleHTTPRequestHandler --+
|
_MyHandler
Class for handling POST and GET request to our mock server. To be used with the ApiMockServer
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Handles the GET requests for retrieving the mock data that was last stored in memory Returns : (json) 'warning' = "No data in memory" if nothing has been previously stored. Returns a mock json if something was previously stored.
|
Handles the POST request for putting a mock json response into memory for later retrieval with GET Returns : (json) 'data' = 'Data has been saved to memory' if the data sent successfully saved. |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Apr 30 07:30:00 2014 | http://epydoc.sourceforge.net |