public class OpenSearchRestlet extends BaseNuxeoRestlet
TODO: make it possible to change the page size and navigate to next results pages using additional query parameters. See http://opensearch.org for official specifications.
TODO: use a OPENSEARCH stateless query model to be able to override the currently hardcoded request pattern.
TODO: add OpenSearch XML description snippet in the default theme so that Firefox can autodetect the service URL.
| Modifier and Type | Field and Description | 
|---|---|
static org.dom4j.Namespace | 
ATOM_NS  | 
static String | 
CHANNEL_TAG  | 
static String | 
DESCRIPTION_TAG  | 
static String | 
ITEM_TAG  | 
static String | 
LINK_TAG  | 
static int | 
MAX  | 
static org.dom4j.Namespace | 
OPENSEARCH_NS  | 
static String | 
QUERY  | 
static String | 
RSS_TAG  | 
static String | 
TITLE_TAG  | 
DEPRECATION_DONE| Constructor and Description | 
|---|
OpenSearchRestlet()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
handle(org.restlet.Request req,
      org.restlet.Response res)  | 
getHttpRequest, getHttpResponse, getQueryParamValue, getRestletFullUrl, handleError, handleError, handleError, handleError, logDeprecation, setEntityToBlobOutputcreateFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner, start, stoppublic static final String RSS_TAG
public static final String CHANNEL_TAG
public static final String TITLE_TAG
public static final String DESCRIPTION_TAG
public static final String LINK_TAG
public static final String ITEM_TAG
public static final String QUERY
public static final int MAX
public static final org.dom4j.Namespace OPENSEARCH_NS
public static final org.dom4j.Namespace ATOM_NS
public OpenSearchRestlet()
public void handle(org.restlet.Request req, org.restlet.Response res)
handle in interface org.restlet.Uniformhandle in class org.restlet.RestletCopyright © 2019 Nuxeo. All rights reserved.