public class BrowserServlet extends AbstractBrowserServlet
| Constructor and Description |
|---|
BrowserServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDSGet(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do the usual DSpace GET method.
|
protected void |
exportMetadata(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
BrowserScope scope)
Export the metadata from a browse
|
protected void |
showError(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the error page
|
protected void |
showFullPage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display a full item listing.
|
protected void |
showNoResultsPage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the No Results page
|
protected void |
showSinglePage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the single page.
|
getBrowserScopeForRequest, processBrowsedoDSPost, doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void doDSGet(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
doDSGet in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responsejava.sql.SQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionjava.io.IOExceptionprotected void showError(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
showError in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionprotected void showNoResultsPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
showNoResultsPage in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionprotected void showSinglePage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
showSinglePage in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionprotected void showFullPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
showFullPage in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionprotected void exportMetadata(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, BrowserScope scope) throws java.io.IOException, javax.servlet.ServletException
context - The DSpace contextrequest - The request objectresponse - The response objectscope - The browse scopejava.io.IOExceptionjavax.servlet.ServletExceptionCopyright © 2018 DuraSpace. All Rights Reserved.