public class ThreadNamingPipelineServlet extends InsertableServletImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ThreadNamingPipelineServlet()
Constructs a new ThreadNamingPipelineServlet
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
formThreadNameAddition(DynamoHttpServletRequest pRequest,
java.lang.StringBuilder pStringBuilder)
Forms thread name addition.
|
boolean |
isEnabled() |
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
For the life of the request names the Thread running with the original name,
appending the hostname or ip address of the request and session id, if they
are available in the request.
|
void |
setEnabled(boolean pEnabled)
If false, this servlet does nothing
|
doStartService, getInsertAfterServlet, setInsertAfterServletcreateAdminServlet, destroy, getAdminServlet, getNextServlet, getServletConfig, getServletInfo, init, isUsePathInfo, passRequest, passRequest, service, service, setNextServlet, setServletInfo, setUsePathInfogetAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatisticsaddLogListener, clearAbsoluteNameAndContext, doStopService, getAbsoluteName, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, isStartServiceComplete, 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, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNextServlet, passRequest, setNextServletpublic ThreadNamingPipelineServlet()
public void setEnabled(boolean pEnabled)
pEnabled - boolean indicating if this servlet should do anythingpublic boolean isEnabled()
protected void formThreadNameAddition(DynamoHttpServletRequest pRequest, java.lang.StringBuilder pStringBuilder)
pRequest - current DynamoHttpServletRequest request.pStringBuffer - contains formed name addition.public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
service in class PipelineableServletImpljavax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet request