Lawrence Lee / Mbed 2 deprecated WIZwiki-REST_mc

Dependencies:   MbedJSONValue1 WIZnetInterface mbed

Fork of WIZwiki-REST_mc by Midnight Cow

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RequestHandler.h Source File

RequestHandler.h

00001 #ifndef __REQUESTHANDLER_H_
00002 #define __REQUESTHANDLER_H_
00003 
00004 //#define DEBUG_HTTPREQ
00005 
00006 class RequestHandler
00007 {
00008     public :
00009         
00010         virtual void handle(char* rest_uri, char* reply) = 0;
00011 };
00012 
00013 class GetRequestHandler : public RequestHandler
00014 {
00015     public :
00016     
00017         virtual void handle(char* rest_uri, char* reply);
00018 };
00019 
00020 class PutRequestHandler : public RequestHandler
00021 {
00022     public :
00023         
00024         virtual void handle(char* rest_uri, char* reply);
00025 
00026 };
00027 
00028 
00029 class DeleteRequestHandler : public RequestHandler
00030 {
00031     public :
00032             
00033         virtual void handle(char* rest_uri, char* reply);
00034 
00035 };
00036 #endif