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 link content by linkShare request as post data.
 
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 link content by linkShare request as post data.

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


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