DLESE Tools
v1.6.0

org.dlese.dpc.suggest
Class SuggestResourceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.dlese.dpc.suggest.SuggestResourceServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class SuggestResourceServlet
extends HttpServlet

Initializes the SuggestResourceHelper and sets up the Suggest a Resource context.

Author:
Jonathan
See Also:
Serialized Form

Constructor Summary
SuggestResourceServlet()
           
 
Method Summary
 void destroy()
          Performs shutdown operations.
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)
          Initialize the SuggestResourceServlet
 void setDebug(boolean db)
          Sets the debug attribute of the DDSServlet object
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestResourceServlet

public SuggestResourceServlet()
Method Detail

init

public void init(ServletConfig conf)
          throws ServletException
Initialize the SuggestResourceServlet

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
conf - Description of the Parameter
Throws:
ServletException - Description of the Exception

destroy

public void destroy()
Performs shutdown operations.

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

getDateStamp

public static String getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:

Returns:
The dateStamp value

setDebug

public final void setDebug(boolean db)
Sets the debug attribute of the DDSServlet object

Parameters:
db - The new debug value

DLESE Tools
v1.6.0