Mercurial > hg > orthanc
diff Core/RestApi/RestApiPath.h @ 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.h Wed Jul 01 10:18:26 2015 +0200 +++ b/Core/RestApi/RestApiPath.h Wed Jul 01 10:38:39 2015 +0200 @@ -33,7 +33,7 @@ #pragma once #include "../Toolbox.h" -#include "../HttpServer/HttpHandler.h" +#include "../HttpServer/IHttpHandler.h" #include <map> @@ -50,11 +50,11 @@ RestApiPath(const std::string& uri); // This version is slower - bool Match(HttpHandler::Arguments& components, + bool Match(IHttpHandler::Arguments& components, UriComponents& trailing, const std::string& uriRaw) const; - bool Match(HttpHandler::Arguments& components, + bool Match(IHttpHandler::Arguments& components, UriComponents& trailing, const UriComponents& uri) const;