org.exoplatform.social.service.rest
Class LinkShareRestService

java.lang.Object
  extended by org.exoplatform.social.service.rest.LinkShareRestService
All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer

public class LinkShareRestService
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer

Gets information from a provided link.


Constructor Summary
LinkShareRestService()
          constructor
 
Method Summary
 javax.ws.rs.core.Response getLink(javax.ws.rs.core.UriInfo uriInfo, String format, LinkShareRequest linkShareRequest)
          Gets the content of the link by the parameter passed to request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkShareRestService

public LinkShareRestService()
constructor

Method Detail

getLink

public javax.ws.rs.core.Response getLink(@Context
                                         javax.ws.rs.core.UriInfo uriInfo,
                                         String format,
                                         LinkShareRequest linkShareRequest)
                                  throws Exception
Gets the content of the link by the parameter passed to request.

Parameters:
uriInfo - The request URI information.
format - The format of the returned result, for example, JSON or XML.
linkShareRequest - The parameter passed to request.
Returns:
The response contains a returned result.
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.