10Duke Enterprise C++ Client
|
#include <StatefulReleaseRequest.h>
Stateful implementation of tenduke::ee::licensing::LicenseReleaseRequest
.
Public Member Functions | |
StatefulReleaseRequest (std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest > request, const std::shared_ptr< tenduke::oidc::OIDCSession > &oidc) | |
Constructs new instance. | |
tenduke::ee::licensing::LicenseReleaseResponse | execute () override |
Execute the request synchronously. | |
Protected Member Functions | |
virtual ::tenduke::ee::licensing::LicenseReleaseResponse | reEstablishOIDCSessionAndRetry () |
tenduke::ee::licensing::impl::StatefulReleaseRequest::StatefulReleaseRequest | ( | std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest > | request, |
const std::shared_ptr< tenduke::oidc::OIDCSession > & | oidc | ||
) |
Constructs new instance.
request | - |
oidc | - |
|
overridevirtual |
Execute the request synchronously.
tenduke::http::HTTPException | e.g. internal server errors, invalid configuration (e.g. HTTP 404 not found) et al. |
tenduke::json::JSONParsingException | JSON has errors (should not usually happen) |
tenduke::ee::licensing::LicensingRequestFailure | e.g. invalid response (not JSON) |
tenduke::net::NetworkingException | e.g. timeouts, networking communication problems |
tenduke::TimedOut | generic time outs |
Implements tenduke::ee::licensing::authzapi::LicensingRequest< T >.