org.dspace.app.webui.servlet
Class SearchResultLogServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.dspace.app.webui.servlet.DSpaceServlet
org.dspace.app.webui.servlet.SearchResultLogServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class SearchResultLogServlet
- extends DSpaceServlet
Every time a user clicks on a search result he will be redirected through this servlet
this servlet will retrieve all query information & store this for the search statistics
Once everything has been stored the user will be
redirected to the dso he clicked on (indicated by the redirectUrl parameter)
- Author:
- Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doDSPost(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP POST. |
| 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 |
SearchResultLogServlet
public SearchResultLogServlet()
doDSPost
protected void doDSPost(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException,
SQLException,
AuthorizeException
- Description copied from class:
DSpaceServlet
- Process an incoming HTTP POST. If an exception is thrown, or for some
other reason the passed in context is not completed, it will be aborted
and any changes made by this method discarded when this method returns.
- Overrides:
doDSPost in class DSpaceServlet
- Parameters:
context - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP response
- Throws:
SQLException - if a database error occurs
AuthorizeException - if some authorization error occurs
javax.servlet.ServletException
IOException
Copyright © 2013 DuraSpace. All Rights Reserved.