Package org.nuxeo.ecm.webdav.resource
Class FileResource
java.lang.Object
org.nuxeo.ecm.webdav.resource.AbstractResource
org.nuxeo.ecm.webdav.resource.ExistingResource
org.nuxeo.ecm.webdav.resource.FileResource
Resource representing a file-like object in the repository. (I.e. not a folder).
-
Field Summary
Fields inherited from class org.nuxeo.ecm.webdav.resource.ExistingResource
backend, DC_CREATED, DC_SOURCE, doc, READONLY_TOKEN, RECENTLY_CREATED_DELTA
Fields inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
name, parentPath, path, request
-
Constructor Summary
ConstructorDescriptionFileResource
(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend) -
Method Summary
Methods inherited from class org.nuxeo.ecm.webdav.resource.ExistingResource
clearMoveOriginalName, copy, delete, getLockDiscovery, getMoveOriginalName, getPropStatBuilderExt, getTimePropertyWrapper, head, isMoveTargetCandidate, isRecentlyCreated, lock, mkcol, move, proppatch, saveMoveOriginalName, unlock
Methods inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
getNameFromPath, getParentPath, options
-
Constructor Details
-
FileResource
public FileResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
-
Method Details
-
get
-
put
public javax.ws.rs.core.Response put() -
propfind
public javax.ws.rs.core.Response propfind(@Context javax.ws.rs.core.UriInfo uriInfo) throws IOException, javax.xml.bind.JAXBException, ParserConfigurationException, SAXException - Throws:
IOException
javax.xml.bind.JAXBException
ParserConfigurationException
SAXException
-