fr.cnes.sitools.dataset.plugins.filters
Class FilterPluginsCollectionResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dataset.plugins.filters.FilterPluginsCollectionResource
public final class FilterPluginsCollectionResource
- extends SitoolsResource
Class for filters plug-in resources
- Author:
- AKKA
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
getFilters(org.restlet.representation.Variant variant)
GET request |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Response to Representation |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.representation.Variant variant)
Gets representation according to the specified Variant if present. |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterPluginsCollectionResource
public FilterPluginsCollectionResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
getFilters
@Get
public org.restlet.representation.Representation getFilters(org.restlet.representation.Variant variant)
- GET request
- Parameters:
variant
- a restlet representation variant
- Returns:
- a restlet representation
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
getRepresentation
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.representation.Variant variant)
- Gets representation according to the specified Variant if present. If
variant is null (when content negociation = false) sets the variant to the
first client accepted mediaType.
- Overrides:
getRepresentation
in class SitoolsResource
- Parameters:
response
- json or xml answervariant
- restlet variant
- Returns:
- Representation
getRepresentation
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
- Response to Representation
- Overrides:
getRepresentation
in class SitoolsResource
- Parameters:
response
- a json/xml answermedia
- the media type (json/xml)
- Returns:
- Representation the restlet version of the response
Copyright © 2010-2013 CNES. All Rights Reserved.