|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.dlese.dpc.oai.provider.OAIProviderServlet
public final class OAIProviderServlet
A servlet used to configure and manage a library repository. The repository may be used for OAI, for discovery or for cataloging.
Constructor Summary | |
---|---|
OAIProviderServlet()
|
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 of the DocumentService object |
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 OAIProviderServlet()
Method Detail |
---|
public void init(ServletConfig conf) throws ServletException
init
in interface Servlet
init
in class GenericServlet
conf
- The config
ServletException
- If errorpublic void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doPost
in class HttpServlet
req
- Requestresp
- Response
ServletException
- If error
IOException
- If errorpublic void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doPut
in class HttpServlet
req
- Input request.resp
- Resulting response.
IOException
- I/O error
ServletException
- servlet errorpublic void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doDelete
in class HttpServlet
req
- Input request.resp
- Resulting response.
IOException
- I/O error
ServletException
- servlet errorpublic void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException
doGet
in class HttpServlet
req
- Input request.resp
- Resulting response.
IOException
- I/O error
ServletException
- servlet errorpublic final void log(String msg)
log
in class GenericServlet
msg
- 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 |