comparison Core/RestApi/RestApiHierarchy.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
96 { 96 {
97 } 97 }
98 98
99 virtual bool Visit(const Resource& resource, 99 virtual bool Visit(const Resource& resource,
100 const UriComponents& uri, 100 const UriComponents& uri,
101 const HttpHandler::Arguments& components, 101 const IHttpHandler::Arguments& components,
102 const UriComponents& trailing) = 0; 102 const UriComponents& trailing) = 0;
103 }; 103 };
104 104
105 105
106 private: 106 private:
121 Handler handler, 121 Handler handler,
122 size_t level); 122 size_t level);
123 123
124 bool CanGenerateDirectory() const; 124 bool CanGenerateDirectory() const;
125 125
126 bool LookupResource(HttpHandler::Arguments& components, 126 bool LookupResource(IHttpHandler::Arguments& components,
127 const UriComponents& uri, 127 const UriComponents& uri,
128 IVisitor& visitor, 128 IVisitor& visitor,
129 size_t level); 129 size_t level);
130 130
131 bool GetDirectory(Json::Value& result, 131 bool GetDirectory(Json::Value& result,