Qore HttpClientDataProvider Module Reference  1.0
HttpClientDataProviderFactory.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 /* HttpClientDataProviderFactory.qc Copyright (C) 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 
25 namespace HttpClientDataProvider {
27 class HttpClientDataProviderFactory : public AbstractDataProviderFactory {
28 
29 public:
30 protected:
32  static Class cls = new Class("HttpClientDataProvider");
33 
35  const FactoryInfo = <DataProviderFactoryInfo>{
36  "name": "httpclient",
37  "desc": "HTTP client data provider factory",
38  "children_can_support_apis": True,
39  };
40 
41 public:
42 
44 
46 protected:
47  hash<DataProviderFactoryInfo> getInfoImpl();
48 public:
49 
50 
52 
54 protected:
55  hash<DataProviderInfo> getProviderInfoImpl();
56 public:
57 
58 
60 protected:
61  Class getClassImpl();
62 public:
63 
64 };
65 };
The httpclient data provider factory.
Definition: HttpClientDataProviderFactory.qc.dox.h:27
Class getClassImpl()
Returns the class for the data provider object.
hash< DataProviderInfo > getProviderInfoImpl()
Returns static provider information.
const FactoryInfo
Factory info.
Definition: HttpClientDataProviderFactory.qc.dox.h:35
hash< DataProviderFactoryInfo > getInfoImpl()
Returns static factory information without provider_info.
static Class cls
Data provider type info.
Definition: HttpClientDataProviderFactory.qc.dox.h:32
const True
Qore HttpClientDataProvider module definition.
Definition: HttpClientCallDataProvider.qc.dox.h:26