Package org.nuxeo.ecm.webdav.resource
Class UnknownResource
java.lang.Object
org.nuxeo.ecm.webdav.resource.AbstractResource
org.nuxeo.ecm.webdav.resource.UnknownResource
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.
-
Field Summary
Fields inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
name, parentPath, path, request
-
Constructor Summary
ConstructorDescriptionUnknownResource
(String path, javax.servlet.http.HttpServletRequest request, Backend backend) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
copy()
javax.ws.rs.core.Response
delete()
javax.ws.rs.core.Response
head()
javax.ws.rs.core.Response
mkcol()
MKCOL over a non-existing resource: create a new folder resource.javax.ws.rs.core.Response
move()
javax.ws.rs.core.Response
propfind()
javax.ws.rs.core.Response
javax.ws.rs.core.Response
put()
PUT over a non-existing resource: create a new file resource.Methods inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
getNameFromPath, getParentPath, options
-
Field Details
-
backend
-
-
Constructor Details
-
UnknownResource
-
-
Method Details
-
put
PUT over a non-existing resource: create a new file resource.- Throws:
IOException
URISyntaxException
-
mkcol
MKCOL over a non-existing resource: create a new folder resource.- Throws:
IOException
URISyntaxException
-
delete
public javax.ws.rs.core.Response delete() -
copy
public javax.ws.rs.core.Response copy() -
move
public javax.ws.rs.core.Response move() -
propfind
public javax.ws.rs.core.Response propfind() -
proppatch
public javax.ws.rs.core.Response proppatch() -
head
public javax.ws.rs.core.Response head()
-