public abstract class AbstractBrowserServlet extends DSpaceServlet
| Constructor and Description |
|---|
AbstractBrowserServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected BrowserScope |
getBrowserScopeForRequest(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create a BrowserScope from the current request
|
protected void |
processBrowse(Context context,
BrowserScope scope,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do the usual DSpace GET method.
|
protected abstract void |
showError(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the error page
|
protected abstract void |
showFullPage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected abstract void |
showNoResultsPage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the No Results page
|
protected abstract void |
showSinglePage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the single page.
|
doDSGet, doDSPost, doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected BrowserScope getBrowserScopeForRequest(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
context - The database contextrequest - The servlet requestresponse - The servlet responsejavax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected void processBrowse(Context context, BrowserScope scope, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected abstract void showError(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
context - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected abstract void showNoResultsPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
context - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected abstract void showSinglePage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
context - request - response - javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionprotected abstract void showFullPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
javax.servlet.ServletExceptionIOExceptionSQLExceptionAuthorizeExceptionCopyright © 2016 DuraSpace. All Rights Reserved.