Qore WebDavHandler Module Reference  1.0
WebDavHandlerProxy.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 /* WebDavHandler module Copyright 2019 - 2022 Qore Technologies, s.r.o.
4 
5  Permission is hereby granted, free of charge, to any person obtaining a
6  copy of this software and associated documentation files (the "Software"),
7  to deal in the Software without restriction, including without limitation
8  the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  and/or sell copies of the Software, and to permit persons to whom the
10  Software is furnished to do so, subject to the following conditions:
11 
12  The above copyright notice and this permission notice shall be included in
13  all copies or substantial portions of the Software.
14 
15  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21  DEALINGS IN THE SOFTWARE.
22 */
23 
24 namespace WebDavHandler {
25 
28 
29 public:
30 protected:
31  hash<string, AbstractWebDavHandler> m_ifaces;
32 
33 public:
34 
36 
38  constructor(hash<string, AbstractWebDavHandler> interfaces);
39 
40 
42 
46  constructor(hash<string, AbstractWebDavHandler> interfaces, string virtual_relative_path_base)
47  ;
48 
49 
51 
56 constructor(hash<string, AbstractWebDavHandler> interfaces, Logger logger, string virtual_relative_path_base = '/') ;
57 
58 
59 protected:
60  *hash<auto> handleChildRaw(string method_name, Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
61 public:
62 
63 
64 protected:
65  hash<HttpResponseInfo> handleChild(string method_name, Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
66 public:
67 
68 
74  hash<HttpResponseInfo> handleGet(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
75 
76 
82  hash<HttpResponseInfo> handleHead(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
83 
84 
90  hash<HttpResponseInfo> handlePost(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
91 
92 
98  hash<HttpResponseInfo> handlePut(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
99 
100 
106  hash<HttpResponseInfo> handleDelete(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
107 
108 
114  hash<HttpResponseInfo> handleCopy(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
115 
116 
122  hash<HttpResponseInfo> handleMove(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
123 
124 
130  hash<HttpResponseInfo> handleLock(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
131 
132 
138  hash<HttpResponseInfo> handleUnlock(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
139 
140 
146  hash<HttpResponseInfo> handleMkcol(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
147 
148 
156  hash<HttpResponseInfo> handlePropfind(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
157 
158 
164  hash<HttpResponseInfo> handleProppatch(Socket sock, hash<auto> cx, hash<auto> hdr, *data body);
165 
166 }; // class WebDavHandlerProxy
167 }; // namespace WebDavHandler
Abstract WebDavHandler interface class.
Definition: AbstractWebDavHandler.qc.dox.h:40
Logger logger
The Logger for this object.
Definition: AbstractWebDavHandler.qc.dox.h:71
Proxy WebDavHandler inteface class.
Definition: WebDavHandlerProxy.qc.dox.h:27
constructor(hash< string, AbstractWebDavHandler > interfaces)
Creates the object with an empty logger and an in-memory property handler.
hash< HttpResponseInfo > handlePost(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
constructor(hash< string, AbstractWebDavHandler > interfaces, string virtual_relative_path_base)
Creates the object with the given argument and an in-memory property handler.
hash< HttpResponseInfo > handleCopy(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleMkcol(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleMove(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleLock(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleGet(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleUnlock(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleDelete(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleProppatch(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
constructor(hash< string, AbstractWebDavHandler > interfaces, Logger logger, string virtual_relative_path_base='/')
Creates the object with the given arguments.
hash< HttpResponseInfo > handlePropfind(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handleHead(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
hash< HttpResponseInfo > handlePut(Socket sock, hash< auto > cx, hash< auto > hdr, *data body)
Main public WebDavHandler namespace.
Definition: AbstractWebDavHandler.qc.dox.h:26