Mercurial > hg > orthanc
comparison Core/RestApi/RestApi.cpp @ 975:c550e99c452b
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Jun 2014 14:53:18 +0200 |
parents | 83622b0f544c |
children | 6968356679c0 |
comparison
equal
deleted
inserted
replaced
974:83622b0f544c | 975:c550e99c452b |
---|---|
164 const Arguments& getArguments, | 164 const Arguments& getArguments, |
165 const std::string& postData) | 165 const std::string& postData) |
166 { | 166 { |
167 bool ok = false; | 167 bool ok = false; |
168 RestApiOutput restOutput(output); | 168 RestApiOutput restOutput(output); |
169 RestApiPath::Components components; | 169 HttpHandler::Arguments components; |
170 UriComponents trailing; | 170 UriComponents trailing; |
171 | 171 |
172 if (method == HttpMethod_Get) | 172 if (method == HttpMethod_Get) |
173 { | 173 { |
174 for (GetHandlers::const_iterator it = getHandlers_.begin(); | 174 for (GetHandlers::const_iterator it = getHandlers_.begin(); |