| Qore AwsRestClientDataProvider Module Reference 1.0

AwsRestClientHeadDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace AwsRestClientDataProvider {
28 class AwsRestClientHeadDataProvider : public AbstractDataProvider {
29
30 public:
32 AwsRestClient rest;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "head",
37 "desc": "AWS REST HEAD data provider; makes a `HEAD` request to a REST server and returns the response",
38 "type": "AwsRestClientHeadDataProvider",
39 "constructor_options": AwsRestClientDataProvider::ConstructorOptions,
40 "supports_request": True,
41 };
42
44 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
45 AbstractDataProvider::DataProviderSummaryInfoKeys
46 });
47
49 const RequestType = new RestClientCallWithoutBodyRequestDataType();
50
52 const ResponseType = new RestClientCallResponseDataType();
53
55 constructor(*hash<auto> options);
56
57
59 constructor(AwsRestClient rest);
60
61
63 string getName();
64
65
67
72 protected:
73 auto doRequestImpl(auto req, *hash<auto> request_options);
74 public:
75
76
79
81 protected:
82 *AbstractDataProviderType headRequestTypeImpl();
83 public:
84
85
87
89 protected:
90 *AbstractDataProviderType getResponseTypeImpl();
91 public:
92
93
95 hash<DataProviderInfo> getStaticInfoImpl();
96
97 };
98 };
AwsRestClientDataProvider::AwsRestClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition: AwsRestClientDataProvider.qc.dox.h:42
AwsRestClientDataProvider::AwsRestClientHeadDataProvider
The AWS REST client HEAD data provider class.
Definition: AwsRestClientHeadDataProvider.qc.dox.h:28
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: AwsRestClientHeadDataProvider.qc.dox.h:44
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: AwsRestClientHeadDataProvider.qc.dox.h:35
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::rest
AwsRestClient rest
REST client connection.
Definition: AwsRestClientHeadDataProvider.qc.dox.h:32
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::headRequestTypeImpl
*AbstractDataProviderType headRequestTypeImpl()
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::getName
string getName()
Returns the data provider name.
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::ResponseType
const ResponseType
Response type.
Definition: AwsRestClientHeadDataProvider.qc.dox.h:52
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::constructor
constructor(AwsRestClient rest)
Creates the object from a REST connection.
AwsRestClientDataProvider::AwsRestClientHeadDataProvider::RequestType
const RequestType
Request type.
Definition: AwsRestClientHeadDataProvider.qc.dox.h:49
True
const True
AwsRestClientDataProvider
Qore AwsRestClientDataProvider module definition.
Definition: AwsRestClientCallDataProvider.qc.dox.h:26