public final class OAIProviderServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
OAIProviderServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Performs shutdown operations.
|
void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle DELETE requests.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle GET requests.
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle POST requests.
|
void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle PUT requests.
|
static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:
|
void |
init(javax.servlet.ServletConfig conf)
Init method called by the web application server upon startup
|
void |
log(java.lang.String msg)
Override the standard servlet logging to use our logger
|
void |
setDebug(boolean db)
Sets the debug attribute of the DocumentService object
|
doHead, doOptions, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig conf) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
conf
- The configjavax.servlet.ServletException
- If errorpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- Requestresp
- Responsejavax.servlet.ServletException
- If errorjava.io.IOException
- If errorpublic void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPut
in class javax.servlet.http.HttpServlet
req
- Input request.resp
- Resulting response.java.io.IOException
- I/O errorjavax.servlet.ServletException
- servlet errorpublic void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doDelete
in class javax.servlet.http.HttpServlet
req
- Input request.resp
- Resulting response.java.io.IOException
- I/O errorjavax.servlet.ServletException
- servlet errorpublic void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
req
- Input request.resp
- Resulting response.java.io.IOException
- I/O errorjavax.servlet.ServletException
- servlet errorpublic final void log(java.lang.String msg)
log
in class javax.servlet.GenericServlet
msg
- DESCRIPTIONpublic static java.lang.String getDateStamp()
public final void setDebug(boolean db)
db
- The new debug value