|
|
| RequestParams () |
| | default constructor
|
| |
| | RequestParams (const RequestParams ¶ms) |
| | copy constructor More...
|
| |
| | RequestParams (const RequestParams *params) |
| | conveniencecopy constructor with NULL check More...
|
| |
|
RequestParams & | operator= (const RequestParams &_p) |
| | assignment operator
|
| |
|
void | setSSLCAcheck (bool chk) |
| | disable the certificate authority validity check for the https request
|
| |
|
bool | getSSLCACheck () const |
| | return the SSL Certificate authority validity check
|
| |
| void | setClientCertX509 (const X509Credential &cli_cert) |
| |
|
const X509Credential & | getClientCertX509 () const |
| | get the current client side credential
|
| |
|
void | setClientLoginPassword (const std::string &login, const std::string &password) |
| | set login/password for HTTP Authentication
|
| |
|
const std::pair< std::string, std::string > & | getClientLoginPassword () const |
| | get login/password for HTTP Authentication
|
| |
| void | setClientCertCallbackX509 (authCallbackClientCertX509 callback, void *userdata) |
| |
|
std::pair< authCallbackClientCertX509, void * > | getClientCertCallbackX509 () const |
| | return the current client side callback for authentication with the associated user data
|
| |
| void | setClientLoginPasswordCallback (authCallbackLoginPasswordBasic callback, void *userdata) |
| |
|
std::pair< authCallbackLoginPasswordBasic, void * > | getClientLoginPasswordCallback () const |
| | return the current login/password callback and the associated user data
|
| |
| void | setAwsAuthorizationKeys (const AwsSecretKey &secret_key, const AwsAccessKey &access_key) |
| | define a Amazon S3 private key and public key More...
|
| |
| const std::pair< AwsSecretKey, AwsAccessKey > & | getAwsAutorizationKeys () const |
| | get Amazon S3 authentication tokens More...
|
| |
| void | setAwsRegion (const AwsRegion ®ion) |
| | define a Amazon S3 bucket region More...
|
| |
| const AwsRegion & | getAwsRegion () const |
| | get Amazon S3 bucket region More...
|
| |
| void | setAwsToken (const AwsToken &token) |
| | define an Amazon S3 security token More...
|
| |
| const AwsToken & | getAwsToken () const |
| | get Amazon S3 security token More...
|
| |
| void | setAwsAlternate (const bool &alternate) |
| | set whether we're using an S3 path-based url More...
|
| |
| const bool & | getAwsAlternate () const |
| | get whether we're using an S3 path-based url More...
|
| |
| void | setAzureKey (const AzureSecretKey &key) |
| | set the secret key for Azure authentication More...
|
| |
| const AzureSecretKey & | getAzureKey () const |
| | get the secret key used for Azure authentication More...
|
| |
| void | setGcloudCredentials (const Davix::gcloud::Credentials &creds) |
| | set the secret key for Azure authentication More...
|
| |
| const Davix::gcloud::Credentials & | getGcloudCredentials () const |
| | get the secret key used for Azure authentication More...
|
| |
|
void | setS3ListingMode (const S3ListingMode::S3ListingMode s3_listing_mode) |
| | set listing mode flag for S3 bucket
|
| |
|
S3ListingMode::S3ListingMode | getS3ListingMode () const |
| | get listing mode flag for S3 bucket
|
| |
|
void | setS3MaxKey (const unsigned long s3_max_key_entries) |
| | set maximum number of key entries return by S3 list object request
|
| |
|
unsigned long | getS3MaxKey () const |
| | get maximun number of key entries return by S3 list object request
|
| |
|
void | addCertificateAuthorityPath (const std::string &path) |
| | add the CA certificate in the directory 'path' as trusted certificate
|
| |
|
const std::vector< std::string > & | listCertificateAuthorityPath () const |
| | get the list of the current user defined CA path
|
| |
| void | setConnectionTimeout (struct timespec *conn_timeout) |
| |
|
const struct timespec * | getConnectionTimeout () const |
| | get the current connexion timeout
|
| |
| void | setOperationTimeout (struct timespec *ops_timeout) |
| |
| const struct timespec * | getOperationTimeout () const |
| |
| void | setTransparentRedirectionSupport (bool redirection) |
| |
|
bool | getTransparentRedirectionSupport () const |
| | return true if the transparent redirection mode is enabled
|
| |
| void | setOperationRetry (int number_retry) |
| | number of re-try in case of operation failure More...
|
| |
| int | getOperationRetry () const |
| | getOperationRetry More...
|
| |
| void | setOperationRetryDelay (int delay_retry) |
| | Delay in second between retry attempts. More...
|
| |
| int | getOperationRetryDelay () const |
| | getOperationRetryDelay More...
|
| |
|
void | setCopyMode (const CopyMode::CopyMode copy_mode) |
| | set copy mode for 3rd party copy
|
| |
|
CopyMode::CopyMode | getCopyMode () const |
| | get copy mode for 3rd party copy
|
| |
|
void | setRecursiveMode (const bool recursive_mode) |
| | set recursive mode for directory operations
|
| |
|
bool | getRecursiveMode () const |
| | get recursive mode for directory operations
|
| |
| void | set100ContinueSupport (const bool enabled) |
| |
|
bool | get100ContinueSupport () const |
| | get whether 100-continue support is enabled
|
| |
|
void | setUserAgent (const std::string &user_agent) |
| | set the user agent for the associated request
|
| |
|
const std::string & | getUserAgent () const |
| | get the current user agent string
|
| |
|
void | setProtocol (const RequestProtocol::Protocol proto) |
| | set the request protocol ( ex : Webdav, Http-only, S3 )
|
| |
|
RequestProtocol::Protocol | getProtocol () const |
| | get the current value of the request protocol
|
| |
| void | setMetalinkMode (const MetalinkMode::MetalinkMode mode) |
| |
|
MetalinkMode::MetalinkMode | getMetalinkMode () const |
| | get the Current Metalink mode
|
| |
|
void | setKeepAlive (const bool keep_alive_flag) |
| | set the keep alive value of the associated session
|
| |
|
bool | getKeepAlive () const |
| | get the keep alive value of this request params
|
| |
| void | addHeader (const std::string &key, const std::string &val) |
| |
|
const HeaderVec & | getHeaders () const |
| | return the list of custom headers configured
|
| |
| void | setProxyServer (const Uri &proxy_url) |
| |
| const Uri * | getProxyServer () const |
| |
|
void * | getParmState () const |
| | internal usage
|
| |
| void | swap (RequestParams ¶ms) |
| |
| int | getAcceptedRetry () const |
| |
| void | setAcceptedRetry (int num_retries) |
| |
| int | getAcceptedRetryDelay () const |
| |
| void | setAcceptedRetryDelay (int delay) |
| |
Main container for Davix request options.
RequestParams hold the davix request options : authentification parameters, timeouts, user-agents,... A Requestparams object can be shared between several Request