13 #ifndef ROOT_TS3WebFile 14 #define ROOT_TS3WebFile 108 #endif // ROOT_TS3WebFile virtual Int_t GetHead()
Overwrites TWebFile::GetHead() for retrieving the HTTP headers of this file.
TS3HTTPRequest fS3Request
Bool_t ParseOptions(Option_t *options, TString &accessKey, TString &secretKey, TString &token)
Extracts the S3 authentication key pair (access key and secret key) from the options.
const TUrl & GetUrl() const
This class represents a WWW compatible URL.
Bool_t GetCredentialsFromEnv(const char *accessKeyEnv, const char *secretKeyEnv, const char *tokenEnv, TString &outAccessKey, TString &outSecretKey, TString &outToken)
Sets the access and secret keys from the environmental variables, if they are both set...
const TString & GetSecretKey() const
TS3HTTPRequest & SetSecretKey(const TString &secretKey)
const TString & GetObjectKey() const
const TString & GetObjectKey() const
#define ClassDef(name, id)
void SetAccessKey(const TString &accessKey)
void SetSecretKey(const TString &secretKey)
const TString & GetSecretKey() const
virtual void SetMsgReadBuffer10(const char *redirectLocation=0, Bool_t tempRedirect=kFALSE)
Overwrites TWebFile::SetMsgReadBuffer10() for setting the HTTP GET request compliant to the authentic...
TS3HTTPRequest & SetAccessKey(const TString &accessKey)
virtual void ProcessHttpHeader(const TString &headerLine)
This method is called by the super-class TWebFile when a HTTP header for this file is retrieved...
const TString & GetAccessKey() const
virtual Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
Read specified byte ranges from remote file via HTTP daemon.
const TString & GetBucket() const
const TString & GetBucket() const
const TString & GetAccessKey() const