|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.dlese.dpc.oai.harvester.OAIHarvesterServlet
public final class OAIHarvesterServlet
A servlet used to manage harvesting metadata via OAI-PMH.
| Constructor Summary | |
|---|---|
OAIHarvesterServlet()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Performs shutdown operations. |
void |
doDelete(HttpServletRequest req,
HttpServletResponse resp)
Handle DELETE requests. |
void |
doGet(HttpServletRequest req,
HttpServletResponse resp)
Handle GET requests. |
void |
doPost(HttpServletRequest req,
HttpServletResponse resp)
Handle POST requests. |
void |
doPut(HttpServletRequest req,
HttpServletResponse resp)
Handle PUT requests. |
static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
void |
init(ServletConfig conf)
Init method called by the web application server upon startup |
void |
log(String msg)
Override the standard servlet logging to use our logger |
void |
setDebug(boolean db)
Sets the debug attribute. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doHead, doOptions, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAIHarvesterServlet()
| Method Detail |
|---|
public void init(ServletConfig conf)
throws ServletException
init in interface Servletinit in class GenericServletconf - Servlet configuration
ServletException - If errorpublic void destroy()
destroy in interface Servletdestroy in class GenericServlet
public void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doPost in class HttpServletreq - DESCRIPTIONresp - DESCRIPTION
ServletException - DESCRIPTION
IOException - DESCRIPTION
public void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doPut in class HttpServletreq - Input request.resp - Resulting response.
IOException - I/O error
ServletException - servlet error
public void doDelete(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doDelete in class HttpServletreq - Input request.resp - Resulting response.
IOException - I/O error
ServletException - servlet error
public void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws IOException,
ServletException
doGet in class HttpServletreq - Input request.resp - Resulting response.
IOException - I/O error
ServletException - servlet errorpublic final void log(String msg)
log in class GenericServletmsg - DESCRIPTIONpublic static String getDateStamp()
public final void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||