org.exoplatform.faq.service.ws
Class FAQWebservice

java.lang.Object
  extended by org.exoplatform.faq.service.ws.FAQWebservice
All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer

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

Handles REST request to process FAQ.


Field Summary
static String APP_TYPE
           
protected static String JSON_CONTENT_TYPE
           
 
Constructor Summary
FAQWebservice()
           
 
Method Summary
 javax.ws.rs.core.Response viewrss(String resourceid)
          Views RSS feeds by the provided source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSON_CONTENT_TYPE

protected static final String JSON_CONTENT_TYPE
See Also:
Constant Field Values

APP_TYPE

public static final String APP_TYPE
Constructor Detail

FAQWebservice

public FAQWebservice()
Method Detail

viewrss

public javax.ws.rs.core.Response viewrss(String resourceid)
                                  throws Exception
Views RSS feeds by the provided source.

Parameters:
resourceid - The RSS source Id to view.
Returns:
The response is xml data which contains the returned RSS.
Throws:
Exception


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