Class LnkProducer

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    public class LnkProducer
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    Created by The eXo Platform SAS. Link Producer Service is a simple service, which generates an .lnk file, that is compatible with the Microsoft link file format.
    Author:
    : Vitaly Guly.
    • Constructor Detail

      • LnkProducer

        public LnkProducer()
        Default constructor.
    • Method Detail

      • produceLink

        public javax.ws.rs.core.Response produceLink​(String linkFilePath,
                                                     String path,
                                                     @Context
                                                     javax.ws.rs.core.UriInfo uriInfo)
        Produces a link.
        Parameters:
        linkFilePath - link file path
        path - path to resource
        uriInfo - uriInfo
        Returns:
        generated link
        eXo level API
        Experimental
        eXo response for generated doc on REST API
        {code} "content" : the generated link file. {code}