fr.cnes.sitools.feeds
Class FeedsClientResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.feeds.FeedsClientResource
public final class FeedsClientResource
- extends SitoolsResource
Resource to return RSS or ATOM representations
- Author:
- m.gond (AKKA Technologies)
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
|
org.restlet.representation.Representation |
getOpensearchFeed(FeedModel feed)
Return the dataset entries with an RSS representation |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeedsClientResource
public FeedsClientResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
doInit
public void doInit()
- Description copied from class:
SitoolsResource
- Initiate the resource
get
@Get
public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
getOpensearchFeed
public org.restlet.representation.Representation getOpensearchFeed(FeedModel feed)
- Return the dataset entries with an RSS representation
- Parameters:
feed
- FeedModel Parameter
- Returns:
- the entries as a RSS feed
Copyright © 2010-2013 CNES. All Rights Reserved.