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