![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
WIZwikiREST ver1.0 (Memory problem)
Dependencies: MbedJSONValue WIZnetInterface mbed
Diff: RequestHandler.h
- Revision:
- 0:5886f525a4ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RequestHandler.h Wed Mar 02 03:28:08 2016 +0000 @@ -0,0 +1,34 @@ +#ifndef __REQUESTHANDLER_H_ +#define __REQUESTHANDLER_H_ + +class RequestHandler +{ + public : + + virtual void handle(char* rest_uri, char* reply) = 0; +}; + +class GetRequestHandler : public RequestHandler +{ + public : + + virtual void handle(char* rest_uri, char* reply); +}; + +class PutRequestHandler : public RequestHandler +{ + public : + + virtual void handle(char* rest_uri, char* reply); + +}; + + +class DeleteRequestHandler : public RequestHandler +{ + public : + + virtual void handle(char* rest_uri, char* reply); + +}; +#endif