public class MyDSpaceServlet extends DSpaceServlet
| Modifier and Type | Field and Description |
|---|---|
static int |
MAIN_PAGE
The main screen
|
static int |
PERFORM_TASK_PAGE
The perform task page
|
static int |
PREVIEW_TASK_PAGE
The preview task page
|
static int |
REJECT_REASON_PAGE
The "reason for rejection" page
|
static int |
REMOVE_ITEM_PAGE
The remove item page
|
static int |
REQUEST_BATCH_IMPORT_ACTION |
static int |
REQUEST_EXPORT_ARCHIVE
The "request export archive for download" page
|
static int |
REQUEST_MIGRATE_ARCHIVE
The "request export migrate archive for download" page
|
| Constructor and Description |
|---|
MyDSpaceServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDSGet(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP GET.
|
protected void |
doDSPost(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP POST.
|
protected void |
processMainPage(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final int MAIN_PAGE
public static final int REMOVE_ITEM_PAGE
public static final int PREVIEW_TASK_PAGE
public static final int PERFORM_TASK_PAGE
public static final int REJECT_REASON_PAGE
public static final int REQUEST_EXPORT_ARCHIVE
public static final int REQUEST_MIGRATE_ARCHIVE
public static final int REQUEST_BATCH_IMPORT_ACTION
protected 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
DSpaceServletdoDSGet 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 doDSPost(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
DSpaceServletdoDSPost 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 processMainPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
javax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionCopyright © 2018 DuraSpace. All Rights Reserved.