Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileGetDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
28class FileGetDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "get",
34 "desc": "Get file data provider; gets a file in the given location",
35 "type": "FileGetDataProvider",
36 "supports_request": True,
37 };
38
40 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
41 AbstractDataProvider::DataProviderSummaryInfoKeys
42 });
43
46
49
51 constructor(*hash<auto> options);
52
53
55 string getName();
56
57
59
64protected:
65 auto doRequestImpl(auto req, *hash<auto> request_options);
66public:
67
68
70
72protected:
73 *AbstractDataProviderType getRequestTypeImpl();
74public:
75
76
78
80protected:
81 *AbstractDataProviderType getResponseTypeImpl();
82public:
83
84
86 hash<DataProviderInfo> getStaticInfoImpl();
87
88};
89};
The get file data provider class.
Definition: FileGetDataProvider.qc.dox.h:28
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const RequestType
Request type.
Definition: FileGetDataProvider.qc.dox.h:45
const ProviderSummaryInfo
Provider summary info.
Definition: FileGetDataProvider.qc.dox.h:40
constructor(*hash< auto > options)
Gets the object from constructor options.
const ResponseType
Response type.
Definition: FileGetDataProvider.qc.dox.h:48
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition: FileGetDataProvider.qc.dox.h:32
string getName()
Returns the data provider name.
Data type for FILE get file request calls.
Definition: FileGetRequestDataType.qc.dox.h:27
Data type for FILE get file request calls.
Definition: FileGetResponseDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26