|
| 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 | 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 | 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) |
|
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