Mercurial > hg > orthanc
comparison Core/RestApi/RestApiCall.h @ 975:c550e99c452b
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Jun 2014 14:53:18 +0200 |
parents | 83622b0f544c |
children | ce3106e5843f |
comparison
equal
deleted
inserted
replaced
974:83622b0f544c | 975:c550e99c452b |
---|---|
44 { | 44 { |
45 private: | 45 private: |
46 RestApiOutput& output_; | 46 RestApiOutput& output_; |
47 RestApi& context_; | 47 RestApi& context_; |
48 const HttpHandler::Arguments& httpHeaders_; | 48 const HttpHandler::Arguments& httpHeaders_; |
49 const RestApiPath::Components& uriComponents_; | 49 const HttpHandler::Arguments& uriComponents_; |
50 const UriComponents& trailing_; | 50 const UriComponents& trailing_; |
51 const UriComponents& fullUri_; | 51 const UriComponents& fullUri_; |
52 | 52 |
53 protected: | 53 protected: |
54 static bool ParseJsonRequestInternal(Json::Value& result, | 54 static bool ParseJsonRequestInternal(Json::Value& result, |
56 | 56 |
57 public: | 57 public: |
58 RestApiCall(RestApiOutput& output, | 58 RestApiCall(RestApiOutput& output, |
59 RestApi& context, | 59 RestApi& context, |
60 const HttpHandler::Arguments& httpHeaders, | 60 const HttpHandler::Arguments& httpHeaders, |
61 const RestApiPath::Components& uriComponents, | 61 const HttpHandler::Arguments& uriComponents, |
62 const UriComponents& trailing, | 62 const UriComponents& trailing, |
63 const UriComponents& fullUri) : | 63 const UriComponents& fullUri) : |
64 output_(output), | 64 output_(output), |
65 context_(context), | 65 context_(context), |
66 httpHeaders_(httpHeaders), | 66 httpHeaders_(httpHeaders), |