Class GetCommand
- java.lang.Object
-
- org.exoplatform.services.jcr.webdav.command.GetCommand
-
public class GetCommand extends Object
Created by The eXo Platform SAS.- Version:
- $Id$
- Author:
- Vitaly Guly - gavrikvetal@gmail.com
-
-
Constructor Summary
Constructors Constructor Description GetCommand()GetCommand(Map<String,String> xsltParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responseget(javax.jcr.Session session, String path, String version, String baseURI, List<Range> ranges, String ifModifiedSince, String ifNoneMatch, Map<javax.ws.rs.core.MediaType,String> cacheControls)GET content of the resource.
-
-
-
Method Detail
-
get
public javax.ws.rs.core.Response get(javax.jcr.Session session, String path, String version, String baseURI, List<Range> ranges, String ifModifiedSince, String ifNoneMatch, Map<javax.ws.rs.core.MediaType,String> cacheControls)GET content of the resource. Can be return content of the file. The content returns in the XML type. If version parameter is present, returns the content of the version of the resource.- Parameters:
session- current sessionpath- resource pathversion- version namebaseURI- base uriranges- ranges- Returns:
- the instance of javax.ws.rs.core.Response
-
-