LibreOffice Module ucb (master)  1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
webdav_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
 
osl::Mutex m_aMutex
 

Detailed Description

Definition at line 171 of file neon/DAVTypes.hxx.

Constructor & Destructor Documentation

DAVOptionsCache::DAVOptionsCache ( )
explicit

Definition at line 95 of file DAVTypes.cxx.

DAVOptionsCache::~DAVOptionsCache ( )

Definition at line 99 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 webdav_ucp::DAVOptionsCache::normalizeURLLastChar ( OUString &  aUrl)
inlinestaticprivate

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

Definition at line 188 of file neon/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

osl::Mutex webdav_ucp::DAVOptionsCache::m_aMutex
private

Definition at line 174 of file neon/DAVTypes.hxx.

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

DAVOptionsMap webdav_ucp::DAVOptionsCache::m_aTheCache
private

Definition at line 173 of file neon/DAVTypes.hxx.

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


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