org.nuxeo.ecm.webdav.resource
Class UnknownResource
java.lang.Object
org.nuxeo.ecm.webdav.resource.AbstractResource
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.
UnknownResource
public UnknownResource(String path,
HttpServletRequest request,
WebDavBackend backend)
throws Exception
- Throws:
Exception
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()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.