org.nuxeo.ecm.platform.ui.web.restAPI
Class OpenSearchRestlet
java.lang.Object
org.restlet.Uniform
org.restlet.Restlet
org.nuxeo.ecm.platform.ui.web.restAPI.BaseNuxeoRestlet
org.nuxeo.ecm.platform.ui.web.restAPI.OpenSearchRestlet
public class OpenSearchRestlet
- extends BaseNuxeoRestlet
Basic OpenSearch REST fulltext search implementation using the RSS 2.0
results format.
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.
- Author:
- Olivier Grisel
Method Summary |
void |
handle(org.restlet.data.Request req,
org.restlet.data.Response res)
|
Methods inherited from class org.restlet.Restlet |
getContext, getLogger, isStarted, isStopped, setContext, start, stop |
Methods inherited from class org.restlet.Uniform |
delete, delete, get, get, handle, head, head, options, options, post, post, put, put |
RSS_TAG
public static final String RSS_TAG
- See Also:
- Constant Field Values
CHANNEL_TAG
public static final String CHANNEL_TAG
- See Also:
- Constant Field Values
TITLE_TAG
public static final String TITLE_TAG
- See Also:
- Constant Field Values
DESCRIPTION_TAG
public static final String DESCRIPTION_TAG
- See Also:
- Constant Field Values
LINK_TAG
public static final String LINK_TAG
- See Also:
- Constant Field Values
ITEM_TAG
public static final String ITEM_TAG
- See Also:
- Constant Field Values
QUERY
public static final String QUERY
- See Also:
- Constant Field Values
MAX
public static final int MAX
- See Also:
- Constant Field Values
OPENSEARCH_NS
public static final org.dom4j.Namespace OPENSEARCH_NS
ATOM_NS
public static final org.dom4j.Namespace ATOM_NS
OpenSearchRestlet
public OpenSearchRestlet()
handle
public void handle(org.restlet.data.Request req,
org.restlet.data.Response res)
- Overrides:
handle
in class org.restlet.Restlet
Copyright © 2011 Nuxeo SAS. All Rights Reserved.