This week we discussed ideas for a WebDAV Client API. Craig asked for
something that will be as simple as "WebDAV.listDirectory(URL)" and what
returns Java Beans. From the user's perspective this sounds great, but the
question is: What shall this Java Bean contain? The WebDAV directory
describer (i. e. a JAXB wrapper around the WebDAV XML Tags)? Or the
directory as a bean, so one can use directory.listDirectory() for
subdirectories and file.get() to receive the content? Or when it is a file,
the file content itself (which will be a performance problem since it might
pull thousands of files then).
What do you think? What shall the client API be like?
And what is the Jersey Client currently providing? Can it be extended to
support this or would it be better to provide something "ontop"?
Regards
Markus