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, IOException, SQLException, AuthorizeException
doDSGet in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responseSQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionIOExceptionprotected void showError(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
showError in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected void showNoResultsPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
showNoResultsPage in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected void showSinglePage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
showSinglePage in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected void showFullPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
showFullPage in class AbstractBrowserServletcontext - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected void exportMetadata(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, BrowserScope scope) throws IOException, javax.servlet.ServletException
context - The DSpace contextrequest - The request objectresponse - The response objectscope - The browse scopeIOExceptionjavax.servlet.ServletExceptionCopyright © 2016 DuraSpace. All Rights Reserved.