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
-
public class FileResource extends ExistingResource
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
Constructors Constructor Description FileResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get()
javax.ws.rs.core.Response
propfind(javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response
put()
-
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 Detail
-
FileResource
public FileResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
-
Method Detail
-
get
public Object 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
-
-