Library for httpserver

Dependents:   Internet_Piano_v2

Fork of httpServer_with_Ethernt by IOP

Revision:
5:62b15cc96f1b
Parent:
2:dd293a10a772
--- a/Handler/FsHandler.h	Fri Feb 12 07:39:47 2016 +0000
+++ b/Handler/FsHandler.h	Tue Nov 28 08:54:11 2017 +0000
@@ -25,11 +25,8 @@
 
 #include "mbed.h"
 #include "HTTPRequestHandler.h"
-#include "HTTPConnection.h"
-#include "EthernetInterface.h"
 
 #include <map>
-#include <list>
 #include <string>
 
 /** class HTTPFsRequestHandler serves requests with file-system objects
@@ -40,7 +37,6 @@
         std::string m_localPath;
 
     public:
-
         /** constructor for HTTPFsRequestHandler object and stores the request related data locally. 
         * the request handling will be initiated from within the constructor.
         * @param rootPath : The path under which the handler was registered.
@@ -78,15 +74,10 @@
         */
         static void mount(const char* requestPath, const char* localPath) { m_fsMap[requestPath] = localPath; }
         
-        //Test
-        //static std::list<EthernetInterface> m_eth_list;
-        static std::map<int, EthernetInterface*> m_eth_list;
-        static void mount_eth(EthernetInterface* eth) { m_eth_list[0] = eth; }
-        
         /** Parse a uri string for uri file name and argument:value pairs
         */
         int parseUriArgs(string uri, map<string, string>& args);
         
         uint32_t get_http_param_value(char* param_name);
 };
-#endif // __FSHANDLER_H__
+#endif // __FSHANDLER_H__
\ No newline at end of file