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
Methods inherited from class org.restlet.Uniform |
delete, delete, get, get, handle, head, head, options, options, post, post, put, put |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSS_TAG
public static final java.lang.String RSS_TAG
- See Also:
- Constant Field Values
CHANNEL_TAG
public static final java.lang.String CHANNEL_TAG
- See Also:
- Constant Field Values
TITLE_TAG
public static final java.lang.String TITLE_TAG
- See Also:
- Constant Field Values
DESCRIPTION_TAG
public static final java.lang.String DESCRIPTION_TAG
- See Also:
- Constant Field Values
LINK_TAG
public static final java.lang.String LINK_TAG
- See Also:
- Constant Field Values
ITEM_TAG
public static final java.lang.String ITEM_TAG
- See Also:
- Constant Field Values
QUERY
public static final java.lang.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(Request req,
Response res)
- Overrides:
handle
in class Restlet
Copyright © 2010 Nuxeo SAS. All Rights Reserved.