13#ifndef ROOT_TS3HTTPRequest
14#define ROOT_TS3HTTPRequest
#define ClassDefOverride(name, id)
Mother of all ROOT objects.
TS3HTTPRequest & SetObjectKey(const TString &objectKey)
const TString & GetObjectKey() const
const TString & GetSecretKey() const
TString GetRequest(TS3HTTPRequest::EHTTPVerb httpVerb, Bool_t appendCRLF=kTRUE)
Returns the HTTP request ready to be sent to the server.
const TString & GetBucket() const
TString HTTPVerbToTString(EHTTPVerb httpVerb) const
TString MakeAuthPrefix() const
Returns the authentication prefix.
TS3HTTPRequest & SetAuthKeys(const TString &accessKey, const TString &secretKey)
TS3HTTPRequest & SetBucket(const TString &bucket)
TString MakeTokenHeader() const
Returns the session security token header for this HTTP request.
TString GetAuthType() const
TS3HTTPRequest & SetTimeStamp()
Sets this request's time stamp according to: http://code.google.com/apis/storage/docs/reference-heade...
TS3HTTPRequest & SetSessionToken(const TString &token)
TS3HTTPRequest & SetSecretKey(const TString &secretKey)
TString ComputeSignature(TS3HTTPRequest::EHTTPVerb httpVerb) const
Returns this request's signature.
TString MakeRequestLine(TS3HTTPRequest::EHTTPVerb httpVerb) const
Returns the first line of a HTTP request for this object.
TString MakeAuthHeader(TS3HTTPRequest::EHTTPVerb httpVerb) const
Returns the authentication header for this HTTP request.
EHTTPVerb GetHTTPVerb() const
TS3HTTPRequest & SetAuthType(TS3HTTPRequest::EAuthType authType)
const TString & GetAccessKey() const
const TString & GetTimeStamp() const
const TString & GetHost() const
TString MakeHostHeader() const
Returns the 'Host' header to include in the HTTP request.
TString MakeDateHeader() const
Returns the date header for this HTTP request.
TS3HTTPRequest & SetAccessKey(const TString &accessKey)
TS3HTTPRequest & SetHost(const TString &host)
virtual ~TS3HTTPRequest()