Skip to content

A WebDAV library for Java applications without JAXB dependencies

License

Notifications You must be signed in to change notification settings

Beloumi/oil-sardine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 

Repository files navigation

oil-sardine

A WebDAV client for Java applications, using OkHttp as HTTP client. This is a fork of Grizzly Labs' fork of the Sardine library.

Note: Only the repo on Codeberg will be developed further.

The goal is to have a pure Java library that is as lean as possible, without dependencies on Kotlin Standard library, JAXB or Apache's HttpClient.

You still need:

  • an okhttp version without Kotlin, e.g. okhttp-3.9.0.jar
  • a compatible okio library, e.g. okio-1.13.0.jar
  • the simple xml library, e.g. simple-xml-2.7.1.jar

If you are looking for a WebDAV client for Android, you better go to Grizzly Labs, if you are looking for a WebDAV client for Java applications and dependencies on large libraries is not a issue, you better go to Sardine.

Getting started

  • Create a Sardine client:
Sardine sardine = new OkHttpSardine();
sardine.setCredentials("username", "password");
  • Use the client to make requests to your WebDAV server:
List<DavResource> resources = sardine.list("http://webdav.server.com");

Legacy

Originally forked from Grizzly Labs' fork of the Sardine library. All Android dependencies and libraries that require the Kotlin standard library have been removed.

About

A WebDAV library for Java applications without JAXB dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%