org.mycore.frontend.indexbrowser.lucene
Class MCRIndexBrowserServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.indexbrowser.lucene.MCRIndexBrowserServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class MCRIndexBrowserServlet
- extends MCRServlet
Servlet to create an xml document which is parsed by xsl
to display the index browser results of the current request.
- Author:
- Anja Schaar, Andreas Trappe, Matthias Eichner
- See Also:
- Serialized Form
| Methods inherited from class org.mycore.frontend.servlets.MCRServlet |
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, init, initTrustedProxies, render, reportException, think |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
incomingBrowserData
protected MCRIndexBrowserIncomingData incomingBrowserData
config
protected MCRIndexBrowserConfig config
MCRIndexBrowserServlet
public MCRIndexBrowserServlet()
doGetPost
protected void doGetPost(MCRServletJob job)
throws Exception
- Description copied from class:
MCRServlet
- This method should be overwritten by other servlets. As a default
response we indicate the HTTP 1.1 status code 501 (Not Implemented).
- Overrides:
doGetPost in class MCRServlet
- Throws:
Exception
createResultListDocument
protected Document createResultListDocument()
- Creates a xml document with the results of the index browser.
- Returns:
- a new xml document with the result list
createEmptyDocument
protected Document createEmptyDocument()
- Creates an empty xml index browser document.
- Returns:
- a new empty document
getIncomingBrowserData
protected MCRIndexBrowserIncomingData getIncomingBrowserData(HttpServletRequest request)