fr.cnes.sitools.dataset.opensearch
Class OpenSearch
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dataset.opensearch.OpenSearch
public final class OpenSearch
- extends SitoolsResource
Resource attached to a DataSetApplication. The context allows to retrieve the DataSetApplication. Returns the results
of an OpenSearch
- Author:
- jp.boignard (AKKA Technologies)
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the GET method |
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
Returns the result of a SolR request
Can be called with /search to return the result of a search Can be called with /suggest to return the result of a
suggest request suggest request can be returned in 2 different JSON JSON for user-client JSON for browser (
OpenSearch standard compliant) |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSearch
public OpenSearch()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
get
@Get
public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
- Returns the result of a SolR request
Can be called with /search to return the result of a search Can be called with /suggest to return the result of a
suggest request suggest request can be returned in 2 different JSON JSON for user-client JSON for browser (
OpenSearch standard compliant)
- Parameters:
variant
- : The variant needed
- Returns:
- Representation representation returned
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
- Describe the GET method
- Parameters:
info
- the WADL information
Copyright © 2010-2013 CNES. All Rights Reserved.