public class DDSServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
DDSServlet()
Constructor for the DDSServlet object
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Shut down sequence.
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The standard required servlet method, just parses the request header for known parameters.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Standard doPost method forwards to doGet
|
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 config)
The standard
HttpServlet init method, called only when the servlet is first loaded. |
static void |
setCollectionsVocabDisplay(MetadataVocab vocab,
RepositoryManager rm)
Sets the "noDisplay" property of collection vocab nodes according the results of the repository manager's
getEnabledSetsHashMap()
|
void |
setDebug(boolean db)
Sets the debug attribute of the DDSServlet object
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
HttpServlet
init method, called only when the servlet is first loaded.init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
request
- response
- javax.servlet.ServletException
java.io.IOException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
method just calls this one. See HttpServlet
for details.doGet
in class javax.servlet.http.HttpServlet
request
- response
- javax.servlet.ServletException
java.io.IOException
public static void setCollectionsVocabDisplay(MetadataVocab vocab, RepositoryManager rm)
vocab
- The new collectionsVocabDisplay valuerm
- The new collectionsVocabDisplay valuepublic static java.lang.String getDateStamp()
public final void setDebug(boolean db)
db
- The new debug value