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 |
Constructor and Description |
---|
OpenSearchRestlet() |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.restlet.data.Request req,
org.restlet.data.Response res) |
getContext, getLogger, isStarted, isStopped, setContext, start, stop
public 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
Copyright © 2013 Nuxeo SA. All Rights Reserved.