LibreOffice
LibreOffice 24.2 SDK API Reference
|
The WebDAV Content Provider (DCP) implements a ContentProvider for the UniversalContentBroker (UCB). More...
import"WebDAVContentProvider.idl";
Exported Interfaces | |
interface | com::sun::star::ucb::XContentProvider |
provides two types of content: a Folder or Document which corresponds to a collection or non-collection (nodes and leafs) in WebDAV respectively. More... | |
Additional Inherited Members | |
Public Member Functions inherited from XContentProvider | |
com::sun::star::ucb::XContent | queryContent ([in] com::sun::star::ucb::XContentIdentifier Identifier) raises ( com::sun::star::ucb::IllegalIdentifierException ) |
creates a new XContent instance, if the given XContentIdentifier matches a content provided by the implementation of this interface. More... | |
long | compareContentIds ([in] com::sun::star::ucb::XContentIdentifier Id1, [in] com::sun::star::ucb::XContentIdentifier Id2) |
compares two XContentIdentifiers. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
The WebDAV Content Provider (DCP) implements a ContentProvider for the UniversalContentBroker (UCB).
It provides access to WebDAV and standard HTTP servers. The DCP communicates with the server using the WebDAV protocol which is an extension to the HTTP protocol or using the plain HTTP protocol in case the server is not WebDAV enabled.
interface com::sun::star::ucb::XContentProvider |
provides two types of content: a Folder or Document which corresponds to a collection or non-collection (nodes and leafs) in WebDAV respectively.
DCP Contents
URL Scheme for DCP Contents
Each DCP content has an identifier corresponding to the following scheme:
<ul> <li> vnd.sun.star.webdav://host:port/<path> where <path> is a hierarchical path of the form <name>/.../<name> and where <name> is a string encoded according to the URL conventions. </li> </ul>
It is also possible to use standard HTTP-URLs. In this case the implementation will determine by itself, if the requested resource is DAV enabled.
Examples: