|
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 |
| std::mutex | m_aMutex |
Definition at line 159 of file DAVTypes.hxx.
|
explicit |
Definition at line 97 of file DAVTypes.cxx.
| DAVOptionsCache::~DAVOptionsCache | ( | ) |
Definition at line 101 of file DAVTypes.cxx.
| void DAVOptionsCache::addDAVOptions | ( | DAVOptions & | rDAVOptions, |
| const sal_uInt32 | nLifeTime | ||
| ) |
Definition at line 147 of file DAVTypes.cxx.
References aURL, http_dav_ucp::DecodeURI(), ucb_impl::urihelper::encodeURI(), http_dav_ucp::DAVOptions::getRedirectedURL(), http_dav_ucp::DAVOptions::getURL(), m_aMutex, m_aTheCache, normalizeURLLastChar(), http_dav_ucp::DAVOptions::setClass1(), http_dav_ucp::DAVOptions::setRedirectedURL(), http_dav_ucp::DAVOptions::setStaleTime(), and http_dav_ucp::DAVOptions::setURL().
Referenced by http_dav_ucp::Content::getResourceOptions().
| bool DAVOptionsCache::getDAVOptions | ( | const OUString & | rURL, |
| DAVOptions & | rDAVOptions | ||
| ) |
Definition at line 105 of file DAVTypes.cxx.
References http_dav_ucp::DecodeURI(), ucb_impl::urihelper::encodeURI(), m_aMutex, m_aTheCache, and normalizeURLLastChar().
Referenced by http_dav_ucp::Content::getResourceOptions().
|
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 | ) |
Definition at line 133 of file DAVTypes.cxx.
References http_dav_ucp::DecodeURI(), ucb_impl::urihelper::encodeURI(), m_aMutex, m_aTheCache, and normalizeURLLastChar().
Referenced by http_dav_ucp::Content::getResourceOptions().
| void DAVOptionsCache::setHeadAllowed | ( | const OUString & | rURL, |
| bool | HeadAllowed = true |
||
| ) |
Definition at line 184 of file DAVTypes.cxx.
References http_dav_ucp::DecodeURI(), ucb_impl::urihelper::encodeURI(), m_aMutex, m_aTheCache, and normalizeURLLastChar().
|
private |
Definition at line 162 of file DAVTypes.hxx.
Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().
|
private |
Definition at line 161 of file DAVTypes.hxx.
Referenced by addDAVOptions(), getDAVOptions(), removeDAVOptions(), and setHeadAllowed().