org.dspace.app.webui.servlet
Class HandleServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.dspace.app.webui.servlet.DSpaceServlet
org.dspace.app.webui.servlet.HandleServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class HandleServlet
- extends DSpaceServlet
Servlet for handling requests within a community or collection. The Handle is
extracted from the URL, e.g: /community/1721.1/1234. If there
is anything after the Handle, the request is forwarded to the appropriate
servlet. For example:
/community/1721.1/1234/simple-search
would be forwarded to /simple-search. If there is nothing
after the Handle, the community or collection home page is shown.
- Version:
- $Revision$
- Author:
- Robert Tansley
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doDSGet(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP GET. |
| 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 |
HandleServlet
public HandleServlet()
doDSGet
protected void doDSGet(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 GET. 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:
doDSGet 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.