comparison 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
comparison
equal deleted inserted replaced
1440:3567503c00a7 1441:f3672356c121
31 31
32 32
33 #pragma once 33 #pragma once
34 34
35 #include "../Toolbox.h" 35 #include "../Toolbox.h"
36 #include "../HttpServer/HttpHandler.h" 36 #include "../HttpServer/IHttpHandler.h"
37 37
38 #include <map> 38 #include <map>
39 39
40 namespace Orthanc 40 namespace Orthanc
41 { 41 {
48 48
49 public: 49 public:
50 RestApiPath(const std::string& uri); 50 RestApiPath(const std::string& uri);
51 51
52 // This version is slower 52 // This version is slower
53 bool Match(HttpHandler::Arguments& components, 53 bool Match(IHttpHandler::Arguments& components,
54 UriComponents& trailing, 54 UriComponents& trailing,
55 const std::string& uriRaw) const; 55 const std::string& uriRaw) const;
56 56
57 bool Match(HttpHandler::Arguments& components, 57 bool Match(IHttpHandler::Arguments& components,
58 UriComponents& trailing, 58 UriComponents& trailing,
59 const UriComponents& uri) const; 59 const UriComponents& uri) const;
60 60
61 bool Match(const UriComponents& uri) const; 61 bool Match(const UriComponents& uri) const;
62 62