Class GetCommand


  • public class GetCommand
    extends Object
    Created by The eXo Platform SAS.
    Version:
    $Id$
    Author:
    Vitaly Guly - gavrikvetal@gmail.com
    • Constructor Detail

      • GetCommand

        public GetCommand()
    • 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