org.gcube.application.framework.http.search
Class OpenSearch
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.gcube.application.framework.http.search.OpenSearch
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class OpenSearch
- extends javax.servlet.http.HttpServlet
Servlet implementation class OpenSearch
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected String |
openSearchWrapperBrowse(Document resultsRSS,
String selectedCollection,
String searchTerms,
String order,
String distinct,
String startIndex,
String itemsPerPage)
|
protected String |
openSearchWrapperCombined(Document resultsRSS,
String selectedCollections,
String criteria,
String language,
String startIndex,
String itemsPerPage)
|
protected String |
openSearchWrapperQuick(Document resultsRSS,
String searchTerms,
String startIndex,
String itemsPerPage,
String scope)
|
protected String |
openSearchWrapperSimple(Document resultsRSS,
String selectedCollections,
String searchTerms,
String startIndex,
String itemsPerPage,
String scope)
|
protected String |
transformToRSS(String resultsXML,
String contextPath)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSearch
public OpenSearch()
- See Also:
HttpServlet.HttpServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException- See Also:
HttpServlet.doGet(HttpServletRequest request, HttpServletResponse response)
openSearchWrapperCombined
protected String openSearchWrapperCombined(Document resultsRSS,
String selectedCollections,
String criteria,
String language,
String startIndex,
String itemsPerPage)
openSearchWrapperQuick
protected String openSearchWrapperQuick(Document resultsRSS,
String searchTerms,
String startIndex,
String itemsPerPage,
String scope)
openSearchWrapperSimple
protected String openSearchWrapperSimple(Document resultsRSS,
String selectedCollections,
String searchTerms,
String startIndex,
String itemsPerPage,
String scope)
transformToRSS
protected String transformToRSS(String resultsXML,
String contextPath)
openSearchWrapperBrowse
protected String openSearchWrapperBrowse(Document resultsRSS,
String selectedCollection,
String searchTerms,
String order,
String distinct,
String startIndex,
String itemsPerPage)
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException- See Also:
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)
Copyright © 2013. All Rights Reserved.