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_DELTAFields inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
name, parentPath, path, request -
Constructor Summary
ConstructorsConstructorDescriptionFileResource(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, unlockMethods 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:
IOExceptionjavax.xml.bind.JAXBExceptionParserConfigurationExceptionSAXException
-