Mercurial > hg > orthanc
comparison Core/HttpServer/EmbeddedResourceHttpHandler.h @ 3414:b9cba6a91780
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Jun 2019 19:44:10 +0200 |
parents | 962e5f00744b |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3413:f09bfdea3fc3 | 3414:b9cba6a91780 |
---|---|
49 public: | 49 public: |
50 EmbeddedResourceHttpHandler( | 50 EmbeddedResourceHttpHandler( |
51 const std::string& baseUri, | 51 const std::string& baseUri, |
52 EmbeddedResources::DirectoryResourceId resourceId); | 52 EmbeddedResources::DirectoryResourceId resourceId); |
53 | 53 |
54 virtual IStream* CreateStreamHandler(RequestOrigin origin, | 54 virtual bool CreateChunkedRequestReader(std::auto_ptr<IChunkedRequestReader>& target, |
55 const char* remoteIp, | 55 RequestOrigin origin, |
56 const char* username, | 56 const char* remoteIp, |
57 HttpMethod method, | 57 const char* username, |
58 const UriComponents& uri, | 58 HttpMethod method, |
59 const Arguments& headers) | 59 const UriComponents& uri, |
60 const Arguments& headers) | |
60 { | 61 { |
61 return NULL; | 62 return false; |
62 } | 63 } |
63 | 64 |
64 virtual bool Handle( | 65 virtual bool Handle(HttpOutput& output, |
65 HttpOutput& output, | 66 RequestOrigin origin, |
66 RequestOrigin origin, | 67 const char* remoteIp, |
67 const char* remoteIp, | 68 const char* username, |
68 const char* username, | 69 HttpMethod method, |
69 HttpMethod method, | 70 const UriComponents& uri, |
70 const UriComponents& uri, | 71 const Arguments& headers, |
71 const Arguments& headers, | 72 const GetArguments& arguments, |
72 const GetArguments& arguments, | 73 const void* /*bodyData*/, |
73 const void* /*bodyData*/, | 74 size_t /*bodySize*/); |
74 size_t /*bodySize*/); | |
75 }; | 75 }; |
76 } | 76 } |