You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Michael Harris <mi...@gmail.com> on 2008/07/18 02:38:45 UTC
general state of webdav client support in jackrabbit
Is the webdav-client part package of jackrabbit solid? I can't find any
documentation whatsoever on how to use any of the DavMethod classes in that
package. Sure I can execute them in a HttpClient instance, but there is
nothing explaining the semantics of the methods.
--
---------------------
Michael Harris
Re: general state of webdav client support in jackrabbit
Posted by Angela Schreiber <an...@day.com>.
Michael Harris wrote:
> On Fri, Jul 18, 2008 at 4:16 AM, Angela Schreiber <an...@day.com> wrote:
>
>> Michael Harris wrote:
>>
>>> Is the webdav-client part package of jackrabbit solid?
>>>
>> what do you mean by solid?
> for example, it seems the SearchMethod is not supported by the
> SimpleWebdavServlet.
but e.g. the JcrWebdavServlet does.
the reason for it being missing with the filebase (simple) servlet is
that nobody had time to implement it. not because of the client part.
>> I can't find any
>> documentation whatsoever on how to use any of the DavMethod classes in that
>> package.
> in the trunk there is a package.html that explains how
>> to use the methods. hope that helps... if i remember
>> correctly it also refers to the apache-httpclient docu.
> It might say something to the effect that the Method implementations are
> intended to be used with HttpClient, but there is absolutely no information
> in the api as to how to do simple things. At least there should be
> something on the wiki. The webdav wiki entry is severely lacking useful
> information.
personnaly i think that there is no use in copying the
documentation from apache/httpclient, which is from my
point of view very good... but probably i'm just too close :)
> Im thinking examples on how to list the contents of a repo, how to put a
> file in the repo using webdav client, etc.
as the whole jackrabbit-webdav project the webdav client package
has no dependency to the jcr repository or to any other repo.
how you map your own repository content to webdav is therefore
not defined by the library either.
jackrabbit provides to examples of such a mapping:
the SimpleWebdavServlet does so by exposing all nodes of type
'nt:file' as non-collection webdav resources, which is probably the
most natural way for those coming from webdav.
> Yes they are defined by the RFC, but going to the RFC to figure out simple
> things makes using this api prohibitive. There is nothing useful revealed
> by google, and even searching for slide examples isn't useful because the
> client api has changed.
i see. yes, very general introductions and/or step-by-step
tutorials are not there.
if you wish, you may create an improvement request on
the JIRA. i can't promise you anything. but at least
people could provide documentation patches.
in the meantime: feel free to document you experiences
in the wiki.
thanks
angela
>
>
>> regards
>> angela
>>
>>
>
>
Re: general state of webdav client support in jackrabbit
Posted by Michael Harris <mi...@gmail.com>.
On Fri, Jul 18, 2008 at 4:16 AM, Angela Schreiber <an...@day.com> wrote:
> Michael Harris wrote:
>
>> Is the webdav-client part package of jackrabbit solid?
>>
>
> what do you mean by solid?
>
for example, it seems the SearchMethod is not supported by the
SimpleWebdavServlet.
> I can't find any
> documentation whatsoever on how to use any of the DavMethod classes in that
> package.
>
in the trunk there is a package.html that explains how
> to use the methods. hope that helps... if i remember
> correctly it also refers to the apache-httpclient docu.
>
It might say something to the effect that the Method implementations are
intended to be used with HttpClient, but there is absolutely no information
in the api as to how to do simple things. At least there should be
something on the wiki. The webdav wiki entry is severely lacking useful
information.
Im thinking examples on how to list the contents of a repo, how to put a
file in the repo using webdav client, etc.
>
>
> Sure I can execute them in a HttpClient instance, but there is
>> nothing explaining the semantics of the methods.
>>
>
> the semantics are defined by the WebDAV RFCs. or do you
> mean something else?
>
Yes they are defined by the RFC, but going to the RFC to figure out simple
things makes using this api prohibitive. There is nothing useful revealed
by google, and even searching for slide examples isn't useful because the
client api has changed.
>
> regards
> angela
>
>
--
---------------------
Michael Harris
Re: general state of webdav client support in jackrabbit
Posted by Angela Schreiber <an...@day.com>.
Michael Harris wrote:
> Is the webdav-client part package of jackrabbit solid?
what do you mean by solid?
> I can't find any
> documentation whatsoever on how to use any of the DavMethod classes in that
> package.
in the trunk there is a package.html that explains how
to use the methods. hope that helps... if i remember
correctly it also refers to the apache-httpclient docu.
> Sure I can execute them in a HttpClient instance, but there is
> nothing explaining the semantics of the methods.
the semantics are defined by the WebDAV RFCs. or do you
mean something else?
regards
angela