Class FolderResource


public class FolderResource extends ExistingResource
A resource for folder-like objects in the repository.
  • Constructor Details

    • FolderResource

      public FolderResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
  • Method Details

    • get

      public String get()
    • propfind

      public javax.ws.rs.core.Response propfind(@Context javax.ws.rs.core.UriInfo uriInfo, @HeaderParam("depth") String depth) throws IOException, javax.xml.bind.JAXBException, ParserConfigurationException, SAXException
      Throws:
      IOException
      javax.xml.bind.JAXBException
      ParserConfigurationException
      SAXException
    • createResponse

      protected net.java.dev.webdav.jaxrs.xml.elements.Response createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop)
    • createResponse

      protected net.java.dev.webdav.jaxrs.xml.elements.Response createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop, boolean append)