WIZwikiREST-io Reference code for WIZnet Academy
Dependencies: DHT MbedJSONValue_v102 WIZnetInterface mbed-src
Fork of WIZwiki-REST-io_v103 by
Diff: RequestHandler.h
- Revision:
- 0:5886f525a4ad
- Child:
- 2:ca36ecca24c2
diff -r 000000000000 -r 5886f525a4ad RequestHandler.h --- /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