Mercurial > hg > orthanc
comparison Core/RestApi/RestApiGetCall.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 | 0a2ad4a6858f |
comparison
equal
deleted
inserted
replaced
1440:3567503c00a7 | 1441:f3672356c121 |
---|---|
36 { | 36 { |
37 bool RestApiGetCall::ParseJsonRequest(Json::Value& result) const | 37 bool RestApiGetCall::ParseJsonRequest(Json::Value& result) const |
38 { | 38 { |
39 result.clear(); | 39 result.clear(); |
40 | 40 |
41 for (HttpHandler::Arguments::const_iterator | 41 for (IHttpHandler::Arguments::const_iterator |
42 it = getArguments_.begin(); it != getArguments_.end(); ++it) | 42 it = getArguments_.begin(); it != getArguments_.end(); ++it) |
43 { | 43 { |
44 result[it->first] = it->second; | 44 result[it->first] = it->second; |
45 } | 45 } |
46 | 46 |