LibreOffice Module ucb (master)
1
|
#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 |
Definition at line 167 of file neon/DAVTypes.hxx.
|
explicit |
Definition at line 95 of file DAVTypes.cxx.
DAVOptionsCache::~DAVOptionsCache | ( | ) |
Definition at line 99 of file DAVTypes.cxx.
void DAVOptionsCache::addDAVOptions | ( | DAVOptions & | rDAVOptions, |
const sal_uInt32 | nLifeTime | ||
) |
Definition at line 143 of file DAVTypes.cxx.
References aURL, ucb_impl::urihelper::encodeURI(), webdav_ucp::DAVOptions::getRedirectedURL(), webdav_ucp::DAVOptions::getURL(), m_aMutex, m_aTheCache, normalizeURLLastChar(), webdav_ucp::DAVOptions::setRedirectedURL(), webdav_ucp::DAVOptions::setStaleTime(), webdav_ucp::DAVOptions::setURL(), and webdav_ucp::NeonUri::unescape().
Referenced by webdav_ucp::Content::getResourceOptions().
bool DAVOptionsCache::getDAVOptions | ( | const OUString & | rURL, |
DAVOptions & | rDAVOptions | ||
) |
Definition at line 103 of file DAVTypes.cxx.
References ucb_impl::urihelper::encodeURI(), m_aMutex, m_aTheCache, normalizeURLLastChar(), and webdav_ucp::NeonUri::unescape().
Referenced by webdav_ucp::Content::getResourceOptions().
|
inlinestaticprivate |
remove the last '/' in aUrl, if it exists
Definition at line 184 of file neon/DAVTypes.hxx.
Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().
void DAVOptionsCache::removeDAVOptions | ( | const OUString & | rURL | ) |
Definition at line 130 of file DAVTypes.cxx.
References ucb_impl::urihelper::encodeURI(), m_aMutex, m_aTheCache, normalizeURLLastChar(), and webdav_ucp::NeonUri::unescape().
Referenced by webdav_ucp::Content::getResourceOptions().
void DAVOptionsCache::setHeadAllowed | ( | const OUString & | rURL, |
bool | HeadAllowed = true |
||
) |
Definition at line 171 of file DAVTypes.cxx.
References ucb_impl::urihelper::encodeURI(), m_aMutex, m_aTheCache, normalizeURLLastChar(), and webdav_ucp::NeonUri::unescape().
|
private |
Definition at line 170 of file neon/DAVTypes.hxx.
Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().
|
private |
Definition at line 169 of file neon/DAVTypes.hxx.
Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().