Sardine 284

An easy to use WebDAV client for Java

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in Sardine 284:

  • Basic lock handling support was added.
  • PROPPATCH now returns a multistatus response.
  • A custom namespace may be defined for updated properties.
  • PUT operations are retried on expectation failure for repeatable entities.
Read full changelog
send us
an update
LICENSE TYPE:
The Apache License 2.0 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Jon S. Stevens
HOMEPAGE:
code.google.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
Sardine is an application useful for interacting with a WebDAV server. Sardine is easier to use than the discontinued slide client and the nearly undocumented Jackrabbit client. There is also webdavclient4j, but it is just a slightly improved slide client.

This is an example of how to get a directory listing from a remote webdav server:

Sardine sardine = SardineFactory.begin();
List< DavResource > resources = sardine.getResources("http://yourdavserver.com/adirectory/");
for (DavResource res : resources)
{
 System.out.println(res);
}


Developer comments

Sardine doesn't implement a full webdav spec client and probably never will. Instead it is focused on being a useful library for common use cases. I also need it to support the latest version of HttpClient. Sardine abstracts away the connection details and provides easy to use methods to accomplish webdav actions.

Sardine uses JAXB to process the XML responses from the webdav server. The generated code for this is based on the excellent webdav.xsd contained in the Apache Wink project.

The UsageGuide documents how to use Sardine.

Last updated on July 6th, 2011

requirements

#WebDAV client #WebDAV server #WebDAV #server #client #Java

Add your review!

SUBMIT