Nuxeo Filesystem Connectors 5.5-SNAPSHOT

org.nuxeo.ecm.webdav.resource
Class UnknownResource

java.lang.Object
  extended by org.nuxeo.ecm.webdav.resource.AbstractResource
      extended by org.nuxeo.ecm.webdav.resource.UnknownResource

public class UnknownResource
extends AbstractResource

Resource for an unknown (ie non-existing) object. Used so that PUT / MKCOL requests can actually created a document / folder. Other requests will end up with a 404 error.


Constructor Summary
UnknownResource(String path, HttpServletRequest request, WebDavBackend backend)
           
 
Method Summary
 Response copy()
           
 Response delete()
           
 Response head()
           
 Response mkcol()
          MKCOL over a non-existing resource: create a new folder resource.
 Response move()
           
 Response propfind()
           
 Response proppatch()
           
 Response put()
          PUT over a non-existing resource: create a new file resource.
 
Methods inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
options
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownResource

public UnknownResource(String path,
                       HttpServletRequest request,
                       WebDavBackend backend)
                throws Exception
Throws:
Exception
Method Detail

put

public Response put()
             throws Exception
PUT over a non-existing resource: create a new file resource.

Throws:
Exception

mkcol

public Response mkcol()
               throws Exception
MKCOL over a non-existing resource: create a new folder resource.

Throws:
Exception

delete

public Response delete()

copy

public Response copy()

move

public Response move()

propfind

public Response propfind()

proppatch

public Response proppatch()

head

public Response head()

Nuxeo Filesystem Connectors 5.5-SNAPSHOT

Copyright © 2011 Nuxeo SA. All Rights Reserved.