public abstract class ServletService extends TimedOperationService implements javax.servlet.Servlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
SERVLET_INFO_KEY
Should be used as a key to retrieve the servletInfo property from ResourceBundles
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ServletService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the servlet and cleans up whatever resources are being held.
|
javax.servlet.ServletConfig |
getServletConfig()
Returns the configuration for this servlet.
|
java.lang.String |
getServletInfo()
Returns the information string for this servlet
|
void |
init(javax.servlet.ServletConfig pConfig)
Initializes the servlet.
|
abstract void |
service(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
Services a single request from the client.
|
void |
setServletInfo(java.lang.String pServletInfo)
Sets the information string for this servlet
|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatisticsaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public static final java.lang.String SERVLET_INFO_KEY
public void init(javax.servlet.ServletConfig pConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.ServletpServletConfig - servlet configuration informationjavax.servlet.ServletException - if a servlet exception has occurredpublic javax.servlet.ServletConfig getServletConfig()
getServletConfig in interface javax.servlet.Servletpublic abstract void service(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
service in interface javax.servlet.ServletpRequest - the servlet requestpResponse - the servlet responsejavax.servlet.ServletException - if a servlet exception has occurredjava.io.IOException - if an I/O exception has occurredpublic java.lang.String getServletInfo()
getServletInfo in interface javax.servlet.Servletpublic void setServletInfo(java.lang.String pServletInfo)
public void destroy()
destroy in interface javax.servlet.Servlet