26#include <rtl/ustring.hxx>
27#include <com/sun/star/uno/Any.hxx>
156 typedef std::map< OUString, DAVOptions,
171 void setHeadAllowed(
const OUString & rURL,
bool HeadAllowed =
true );
177 if ( aUrl.getLength() > 1 &&
178 ( ( aUrl.lastIndexOf(
'/' ) + 1 ) == aUrl.getLength() ) )
179 aUrl = aUrl.copy(0, aUrl.getLength() - 1 );
DAVOptionsMap m_aTheCache
bool getDAVOptions(const OUString &rURL, DAVOptions &rDAVOptions)
void setHeadAllowed(const OUString &rURL, bool HeadAllowed=true)
static void normalizeURLLastChar(OUString &aUrl)
remove the last '/' in aUrl, if it exists
void removeDAVOptions(const OUString &rURL)
void addDAVOptions(DAVOptions &rDAVOptions, const sal_uInt32 nLifeTime)
bool operator==(const DAVOptions &rOpts) const
void setClass3(bool Class3=true)
bool m_isHeadAllowed
for server that do not implement it
const OUString & getURL() const
sal_uInt16 m_nHttpResponseStatusCode
The cached HTT response status code. It's 0 if the code was dealt with and there is no need to cache ...
sal_uInt32 getRequestedTimeLife() const
void setAllowedMethods(const OUString &aAllowedMethods)
const OUString & getHttpResponseStatusText() const
sal_uInt32 m_nRequestedTimeLife
DAVOptions & operator=(const DAVOptions &rOpts)
sal_uInt32 m_nStaleTime
target time when this capability becomes stale
OUString m_sHttpResponseStatusText
The cached string with the server returned HTTP response status code string, corresponds to m_nHttpRe...
void setRequestedTimeLife(const sal_uInt32 nRequestedTimeLife)
void setStaleTime(const sal_uInt32 nStaleTime)
const OUString & getRedirectedURL() const
OUString m_aAllowedMethods
contains the methods allowed on this resource
void setClass2(bool Class2=true)
void setURL(const OUString &sURL)
void setClass1(bool Class1=true)
void setHeadAllowed(bool HeadAllowed=true)
bool isHeadAllowed() const
bool isLockAllowed() const
void setLocked(bool locked=true)
void setRedirectedURL(const OUString &sRedirectedURL)
void setHttpResponseStatusCode(const sal_uInt16 nHttpResponseStatusCode)
sal_uInt32 getStaleTime() const
sal_uInt16 getHttpResponseStatusCode() const
OUString m_sRedirectedURL
void setHttpResponseStatusText(const OUString &rHttpResponseStatusText)
bool m_isLocked
Internally used to maintain the locked state of the resource, only if it's a Class 2 resource.
const OUString & getAllowedMethods() const
std::map< OUString, DAVOptions, std::less< OUString > > DAVOptionsMap
ProppatchValue(const ProppatchOperation o, OUString n, css::uno::Any v)
css::uno::Any const value
ProppatchOperation const operation