LibreOffice
LibreOffice 7.4 SDK API Reference
Exported Interfaces | List of all members
WebDAVContentProvider Service Referencepublished

The WebDAV Content Provider (DCP) implements a ContentProvider for the UniversalContentBroker (UCB). More...

import"WebDAVContentProvider.idl";

Inheritance diagram for WebDAVContentProvider:
XContentProvider XInterface

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...
 

Detailed Description

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.

See also
com::sun::star::ucb::Content

Exported Interfaces

◆ 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

  1. A DCP Folder (WebDAVFolderContent) is a container for other DCP Folders or Documents.
  2. A DCP Document (WebDAVDocumentContent) is a container for Document data/content. The data/content may be anything, a WebDAV server, like an HTTP server, does not necessarily mandate what type of data/content may be contained within Documents. The type of data/content is defined by the MediaType property which is different from the content type returned from the getContentType method. The MediaType property is mapped to the equivalent WebDAV property and the WebDAV server calculates the value.

URL Scheme for DCP Contents

Each DCP content has an identifier corresponding to the following scheme:

<ul>
<li>
vnd.sun.star.webdav://host:port/&lt;path&gt; where &lt;path&gt; is
a hierarchical path of the form &lt;name&gt;/.../&lt;name&gt; and
where &lt;name&gt; 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:


The documentation for this service was generated from the following file: