Loading...
Searching...
No Matches
RestClientHeadDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace RestClientDataProvider {
class RestClientHeadDataProvider : public AbstractDataProvider {
public:
RestClient rest;
const ProviderInfo = <DataProviderInfo>{
"name": "head",
"desc": "REST HEAD data provider; makes a `HEAD` request to a REST server and returns the response",
"type": "RestClientHeadDataProvider",
"constructor_options": RestClientDataProvider::ConstructorOptions,
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new RestClientCallWithoutBodyRequestDataType();
const ResponseType = new RestClientCallResponseDataType();
constructor(*hash<auto> options);
constructor(RestClient rest);
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
RestClientDataProvider::RestClientCallResponseDataType
Data type for REST call responses.
Definition: RestClientCallResponseDataType.qc.dox.h:27
RestClientDataProvider::RestClientCallWithoutBodyRequestDataType
Data type for REST client call requests with no message bodies.
Definition: RestClientCallWithoutBodyRequestDataType.qc.dox.h:27
RestClientDataProvider::RestClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition: RestClientDataProvider.qc.dox.h:42
RestClientDataProvider::RestClientHeadDataProvider
The REST client HEAD data provider class.
Definition: RestClientHeadDataProvider.qc.dox.h:28
RestClientDataProvider::RestClientHeadDataProvider::ResponseType
const ResponseType
Response type.
Definition: RestClientHeadDataProvider.qc.dox.h:52
RestClientDataProvider::RestClientHeadDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: RestClientHeadDataProvider.qc.dox.h:35
RestClientDataProvider::RestClientHeadDataProvider::RequestType
const RequestType
Request type.
Definition: RestClientHeadDataProvider.qc.dox.h:49
RestClientDataProvider::RestClientHeadDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
RestClientDataProvider::RestClientHeadDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
RestClientDataProvider::RestClientHeadDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
RestClientDataProvider::RestClientHeadDataProvider::getName
string getName()
Returns the data provider name.
RestClientDataProvider::RestClientHeadDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
RestClientDataProvider::RestClientHeadDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: RestClientHeadDataProvider.qc.dox.h:44
RestClientDataProvider::RestClientHeadDataProvider::rest
RestClient rest
REST client connection.
Definition: RestClientHeadDataProvider.qc.dox.h:32
RestClientDataProvider::RestClientHeadDataProvider::constructor
constructor(RestClient rest)
Creates the object from a REST connection.
RestClientDataProvider::RestClientHeadDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
RestClientDataProvider
Qore RestClientDataProvider module definition.
Definition: RestClientCallDataProvider.qc.dox.h:26
RestClient