diff Core/RestApi/RestApiPath.cpp @ 1441:f3672356c121

refactoring: IHttpHandler and HttpToolbox
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2015 10:38:39 +0200
parents 6e7e5ed91c2d
children b1291df2f780
line wrap: on
line diff
--- a/Core/RestApi/RestApiPath.cpp	Wed Jul 01 10:18:26 2015 +0200
+++ b/Core/RestApi/RestApiPath.cpp	Wed Jul 01 10:38:39 2015 +0200
@@ -78,7 +78,7 @@
     }
   }
 
-  bool RestApiPath::Match(HttpHandler::Arguments& components,
+  bool RestApiPath::Match(IHttpHandler::Arguments& components,
                           UriComponents& trailing,
                           const std::string& uriRaw) const
   {
@@ -87,7 +87,7 @@
     return Match(components, trailing, uri);
   }
 
-  bool RestApiPath::Match(HttpHandler::Arguments& components,
+  bool RestApiPath::Match(IHttpHandler::Arguments& components,
                           UriComponents& trailing,
                           const UriComponents& uri) const
   {
@@ -135,7 +135,7 @@
 
   bool RestApiPath::Match(const UriComponents& uri) const
   {
-    HttpHandler::Arguments components;
+    IHttpHandler::Arguments components;
     UriComponents trailing;
     return Match(components, trailing, uri);
   }