eXo JCR :: Component :: Webdav Service 1.15.11-GA

org.exoplatform.services.jcr.webdav.command
Class GetCommand

java.lang.Object
  extended by org.exoplatform.services.jcr.webdav.command.GetCommand

public class GetCommand
extends Object

Created by The eXo Platform SAS Author : Vitaly Guly.

Version:
$Id$

Constructor Summary
GetCommand()
           
GetCommand(Map<String,String> xsltParams)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetCommand

public GetCommand()

GetCommand

public GetCommand(Map<String,String> xsltParams)
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 session
path - resource path
version - version name
baseURI - base uri
ranges - ranges
Returns:
the instance of javax.ws.rs.core.Response

eXo JCR :: Component :: Webdav Service 1.15.11-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.