24#include <rtl/ustring.hxx>
25#include <com/sun/star/io/XInputStream.hpp>
26#include <com/sun/star/io/XOutputStream.hpp>
33namespace com {
namespace sun {
namespace star {
namespace beans {
63 virtual bool CanUse(
const OUString & rURI,
64 const ::com::sun::star::uno::Sequence<::com::sun::star::beans::NamedValue>& rFlags ) = 0;
70 virtual void OPTIONS(
const OUString & inPath,
76 virtual void PROPFIND(
const OUString & inPath,
78 const std::vector< OUString > & inPropertyNames,
79 std::vector< DAVResource > & ioResources,
84 virtual void PROPFIND(
const OUString & inPath,
86 std::vector< DAVResourceInfo > & ioResInfo,
91 const std::vector< ProppatchValue > & inValues,
95 virtual void HEAD(
const OUString & inPath,
96 const std::vector< OUString > & inHeaderNames,
101 virtual css::uno::Reference< css::io::XInputStream >
102 GET(
const OUString & inPath,
106 virtual void GET(
const OUString & inPath,
107 css::uno::Reference< css::io::XOutputStream >& o,
111 virtual css::uno::Reference< css::io::XInputStream >
112 GET(
const OUString & inPath,
113 const std::vector< OUString > & inHeaderNames,
119 GET(
const OUString & inPath,
120 css::uno::Reference< css::io::XOutputStream >& o,
121 const std::vector< OUString > & inHeaderNames,
126 virtual void PUT(
const OUString & inPath,
127 const css::uno::Reference< css::io::XInputStream >& s,
131 virtual css::uno::Reference< css::io::XInputStream >
133 const OUString & rContentType,
134 const OUString & rReferer,
135 const css::uno::Reference< css::io::XInputStream > & inInputStream,
139 virtual void POST(
const OUString & inPath,
140 const OUString & rContentType,
141 const OUString & rReferer,
142 const css::uno::Reference< css::io::XInputStream > & inInputStream,
143 css::uno::Reference< css::io::XOutputStream > & oOutputStream,
147 virtual void MKCOL(
const OUString & inPath,
151 virtual void COPY(
const OUString & inSource,
152 const OUString & inDestination,
154 bool inOverwrite =
false ) = 0;
157 virtual void MOVE(
const OUString & inSource,
158 const OUString & inDestination,
160 bool inOverwrite =
false ) = 0;
163 virtual void DESTROY(
const OUString & inPath,
168 virtual void LOCK(
const OUString & inPath,
169 css::ucb::Lock & inLock,
173 virtual void UNLOCK(
const OUString & inPath,
191 friend struct std::default_delete<
DAVSession >;
virtual void MKCOL(const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
virtual void LOCK(const OUString &inPath, css::ucb::Lock &inLock, const DAVRequestEnvironment &rEnv)=0
virtual void COPY(const OUString &inSource, const OUString &inDestination, const DAVRequestEnvironment &rEnv, bool inOverwrite=false)=0
virtual void UNLOCK(const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
virtual css::uno::Reference< css::io::XInputStream > GET(const OUString &inPath, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
virtual css::uno::Reference< css::io::XInputStream > GET(const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
virtual void GET(const OUString &inPath, css::uno::Reference< css::io::XOutputStream > &o, const DAVRequestEnvironment &rEnv)=0
virtual bool CanUse(const OUString &rURI, const ::com::sun::star::uno::Sequence<::com::sun::star::beans::NamedValue > &rFlags)=0
virtual void PROPFIND(const OUString &inPath, const Depth inDepth, const std::vector< OUString > &inPropertyNames, std::vector< DAVResource > &ioResources, const DAVRequestEnvironment &rEnv)=0
virtual void GET(const OUString &inPath, css::uno::Reference< css::io::XOutputStream > &o, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
virtual css::uno::Reference< css::io::XInputStream > POST(const OUString &inPath, const OUString &rContentType, const OUString &rReferer, const css::uno::Reference< css::io::XInputStream > &inInputStream, const DAVRequestEnvironment &rEnv)=0
virtual void PROPFIND(const OUString &inPath, const Depth inDepth, std::vector< DAVResourceInfo > &ioResInfo, const DAVRequestEnvironment &rEnv)=0
virtual void OPTIONS(const OUString &inPath, DAVOptions &rOptions, const DAVRequestEnvironment &rEnv)=0
DAVSessionFactory::Map::iterator m_aContainerIt
oslInterlockedCount m_nRefCount
virtual bool UsesProxy()=0
DAVSession(rtl::Reference< DAVSessionFactory > xFactory)
virtual void HEAD(const OUString &inPath, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
virtual void DESTROY(const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
virtual void PUT(const OUString &inPath, const css::uno::Reference< css::io::XInputStream > &s, const DAVRequestEnvironment &rEnv)=0
virtual void MOVE(const OUString &inSource, const OUString &inDestination, const DAVRequestEnvironment &rEnv, bool inOverwrite=false)=0
virtual void PROPPATCH(const OUString &inPath, const std::vector< ProppatchValue > &inValues, const DAVRequestEnvironment &rEnv)=0
virtual void POST(const OUString &inPath, const OUString &rContentType, const OUString &rReferer, const css::uno::Reference< css::io::XInputStream > &inInputStream, css::uno::Reference< css::io::XOutputStream > &oOutputStream, const DAVRequestEnvironment &rEnv)=0
rtl::Reference< DAVSessionFactory > m_xFactory
Reference< XSingleServiceFactory > xFactory