Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Apache Wink provides an extension module for supporting the WebDAV protocol. The extension contains the complete WebDAV XML model and a WebDAV response builder for easing the process of creating a WebDAV multistatus response.

Info
titleUsful Information

The WebDAV extension is a single jar

...

wink-webdav-<version>.jar, and it has no special dependencies.

WebDAV Data Model

The WebDAV extension provides a Java data model that reflects the WebDAV XMLs defined in the WebDAV RFC. All classes of the data model are located in the comorg.hpapache.symphonywink.webdav.model package.

WebDAV Classes

...

When the propfindDefect() method is invoked, an instance of a comorg.hpapache.symphonywink.common.model.synd.SyndFeed is created and passed to the WebDAVResponseBuilder.propfind() method in order to create the actual response.

...

In order to create a Multistatus response manually, perform the following steps:

  1. Create a new comorg.hpapache.symphonywink.webdav.model.Multistatus instance and set its fields according to the application logic.
  2. Create a new javax.ws.rs.core.Response instance, set the response code to MULTI_STATUS (207), and set its entity to be the Multistatus instance.

...