LibreOffice Module ucb (master)  1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
http_dav_ucp::DAVOptionsCache Class Reference

#include <DAVTypes.hxx>

Public Member Functions

 DAVOptionsCache ()
 
 ~DAVOptionsCache ()
 
bool getDAVOptions (const OUString &rURL, DAVOptions &rDAVOptions)
 
void removeDAVOptions (const OUString &rURL)
 
void addDAVOptions (DAVOptions &rDAVOptions, const sal_uInt32 nLifeTime)
 
void setHeadAllowed (const OUString &rURL, bool HeadAllowed=true)
 

Static Private Member Functions

static void normalizeURLLastChar (OUString &aUrl)
 remove the last '/' in aUrl, if it exists More...
 

Private Attributes

DAVOptionsMap m_aTheCache
 
std::mutex m_aMutex
 

Detailed Description

Definition at line 159 of file DAVTypes.hxx.

Constructor & Destructor Documentation

DAVOptionsCache::DAVOptionsCache ( )
explicit

Definition at line 97 of file DAVTypes.cxx.

DAVOptionsCache::~DAVOptionsCache ( )

Definition at line 101 of file DAVTypes.cxx.

Member Function Documentation

void DAVOptionsCache::addDAVOptions ( DAVOptions rDAVOptions,
const sal_uInt32  nLifeTime 
)
bool DAVOptionsCache::getDAVOptions ( const OUString &  rURL,
DAVOptions rDAVOptions 
)
static void http_dav_ucp::DAVOptionsCache::normalizeURLLastChar ( OUString &  aUrl)
inlinestaticprivate

remove the last '/' in aUrl, if it exists

Definition at line 176 of file DAVTypes.hxx.

Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().

void DAVOptionsCache::removeDAVOptions ( const OUString &  rURL)
void DAVOptionsCache::setHeadAllowed ( const OUString &  rURL,
bool  HeadAllowed = true 
)

Member Data Documentation

std::mutex http_dav_ucp::DAVOptionsCache::m_aMutex
private

Definition at line 162 of file DAVTypes.hxx.

Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().

DAVOptionsMap http_dav_ucp::DAVOptionsCache::m_aTheCache
private

Definition at line 161 of file DAVTypes.hxx.

Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().


The documentation for this class was generated from the following files: